Jamie Gennis | aefb657 | 2015-03-21 01:53:30 -0400 | [diff] [blame] | 1 | language: go |
2 | |||||
Dan Willemsen | 8cc6d75 | 2015-07-23 20:27:41 -0700 | [diff] [blame] | 3 | cache: |
4 | directories: | ||||
5 | - $HOME/ninjabin | ||||
6 | |||||
Jamie Gennis | aefb657 | 2015-03-21 01:53:30 -0400 | [diff] [blame] | 7 | install: |
Dan Willemsen | 8cc6d75 | 2015-07-23 20:27:41 -0700 | [diff] [blame] | 8 | - ./.travis.install-ninja.sh |
9 | - export PATH=$PATH:~/ninjabin | ||||
Jamie Gennis | aefb657 | 2015-03-21 01:53:30 -0400 | [diff] [blame] | 10 | |
Dan Willemsen | 187a9bf | 2015-07-23 18:19:18 -0700 | [diff] [blame] | 11 | before_script: |
12 | - source .travis.fix-fork.sh | ||||
Jamie Gennis | aefb657 | 2015-03-21 01:53:30 -0400 | [diff] [blame] | 13 | |
14 | script: | ||||
15 | - go test ./... | ||||
Jamie Gennis | aefb657 | 2015-03-21 01:53:30 -0400 | [diff] [blame] | 16 | - mkdir stage |
17 | - cd stage | ||||
18 | - ../bootstrap.bash | ||||
19 | - ninja | ||||
Dan Willemsen | 91a657e | 2015-07-22 17:05:59 -0700 | [diff] [blame] | 20 | - diff -us ../build.ninja.in .bootstrap/bootstrap.ninja.in |
Dan Willemsen | f04c551 | 2015-07-22 17:05:51 -0700 | [diff] [blame] | 21 | - ../tests/test.sh |