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: MSVC 12 - MSYSTEM: LINUX 13 14matrix: 15 exclude: 16 - image: Visual Studio 2017 17 MSYSTEM: LINUX 18 - image: Ubuntu1804 19 MSYSTEM: MINGW64 20 - image: Ubuntu1804 21 MSYSTEM: MSVC 22 23for: 24 - 25 matrix: 26 only: 27 - MSYSTEM: MINGW64 28 build_script: 29 ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n 30 pacman -S --quiet --noconfirm --needed re2c 2>&1\n 31 ./configure.py --bootstrap --platform mingw 2>&1\n 32 ./ninja all\n 33 ./ninja_test 2>&1\n 34 ./misc/ninja_syntax_test.py 2>&1\n\"@" 35 - 36 matrix: 37 only: 38 - MSYSTEM: MSVC 39 build_script: 40 - cmd: >- 41 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" 42 43 python configure.py --bootstrap 44 45 ninja.bootstrap.exe all 46 47 ninja_test 48 49 python misc/ninja_syntax_test.py 50 51 - matrix: 52 only: 53 - image: Ubuntu1804 54 build_script: 55 - ./configure.py --bootstrap 56 - ./ninja all 57 - ./ninja_test 58 - misc/ninja_syntax_test.py 59 - misc/output_test.py 60 61test: off 62