1version: 1.0.{build}
2image:
3  - Visual Studio 2017
4  - Ubuntu1804
5
6environment:
7  CLICOLOR_FORCE: 1
8  CHERE_INVOKING: 1 # Tell Bash to inherit the current working directory
9  matrix:
10    - MSYSTEM: MINGW64
11    - MSYSTEM: LINUX
12
13matrix:
14  exclude:
15    - image: Visual Studio 2017
16      MSYSTEM: LINUX
17    - image: Ubuntu1804
18      MSYSTEM: MINGW64
19
20for:
21  -
22    matrix:
23      only:
24        - MSYSTEM: MINGW64
25    build_script:
26      ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n
27      pacman -S --quiet --noconfirm --needed re2c 2>&1\n
28      ./configure.py --bootstrap --platform mingw 2>&1\n
29      ./ninja all\n
30      ./misc/ninja_syntax_test.py 2>&1\n\"@"
31  - matrix:
32      only:
33        - image: Ubuntu1804
34    build_script:
35      - ./configure.py --bootstrap
36      - ./ninja all
37      - misc/ninja_syntax_test.py
38      - misc/output_test.py
39
40test: off
41