1dist: trusty
2language: c
3compiler:
4 - clang
5 - gcc
6install:
7 - git clone https://github.com/ninja-build/ninja.git /tmp/ninja
8 - pushd /tmp/ninja
9 - git checkout release
10 - python configure.py --bootstrap
11 - mkdir -p $HOME/.local/bin
12 - install -m 755 /tmp/ninja/ninja $HOME/.local/bin/ninja
13 - popd
14 - export PATH=$HOME/.local/bin:$PATH
15 - pip install --user six
16 - pip install --user git+https://github.com/Maratyszcza/confu
17before_script:
18 - confu setup
19 - ./configure.py
20 - ninja
21script:
22 - ninja test
23 - ninja bench
24addons:
25  apt:
26    packages:
27    - python-pip
28