blob: 1004a718d9557d2e9a2b45de5f6b4dcb5c1746bc [file] [log] [blame]
Jamie Gennisaefb6572015-03-21 01:53:30 -04001language: go
2
Dan Willemsen8cc6d752015-07-23 20:27:41 -07003cache:
4 directories:
5 - $HOME/ninjabin
6
Jamie Gennisaefb6572015-03-21 01:53:30 -04007install:
Dan Willemsen8cc6d752015-07-23 20:27:41 -07008 - ./.travis.install-ninja.sh
9 - export PATH=$PATH:~/ninjabin
Jamie Gennisaefb6572015-03-21 01:53:30 -040010
Dan Willemsen187a9bf2015-07-23 18:19:18 -070011before_script:
12 - source .travis.fix-fork.sh
Jamie Gennisaefb6572015-03-21 01:53:30 -040013
14script:
15 - go test ./...
Jamie Gennisaefb6572015-03-21 01:53:30 -040016 - mkdir stage
17 - cd stage
18 - ../bootstrap.bash
19 - ninja
Dan Willemsen91a657e2015-07-22 17:05:59 -070020 - diff -us ../build.ninja.in .bootstrap/bootstrap.ninja.in
Dan Willemsenf04c5512015-07-22 17:05:51 -070021 - ../tests/test.sh