language: go

go:
    - 1.5.1

cache:
    directories:
        - $HOME/ninjabin

install:
    - ./.travis.install-ninja.sh
    - export PATH=$PATH:~/ninjabin

before_script:
    - source .travis.fix-fork.sh

script:
    - ./.travis.gofmt.sh
    - go test ./...
    - mkdir stage
    - cd stage
    - ../bootstrap.bash
    - ./blueprint.bash
    - diff -us ../build.ninja.in .minibootstrap/build.ninja.in
    - ../tests/test.sh
    - ../tests/test_tree_tests.sh

language: go

go:
    - 1.8.3
    - 1.7.6

cache:
    directories:
        - $HOME/ninjabin

install:
    - ./.travis.install-ninja.sh
    - export PATH=$PATH:~/ninjabin

before_script:
    - source .travis.fix-fork.sh

script:
    - ./.travis.gofmt.sh
    - go test ./...
    - mkdir stage
    - cd stage
    - ../bootstrap.bash
    - ./blueprint.bash
    - diff -us ../build.ninja.in .minibootstrap/build.ninja.in
    - ../tests/test.sh
    - ../tests/test_tree_tests.sh

Test against go 1.7.6 and 1.8.3
Test against go 1.7.6 and 1.8.3

Go 1.5.1 is obsolete, test against the two currently supported versions
of go (1.7.6 and 1.8.3).

Change-Id: Ie463dd4d57e3d5c7795e780aedd8056072695342
