Skip to content

Commit

Permalink
travis: updated cmake template
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Feb 20, 2020
1 parent a4689d8 commit e0999a7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
language: cpp
group: travis_latest
dist: xenial
dist: bionic

git:
depth: 3
depth: 25
quiet: true

matrix:
include:
- os: linux
install:
- mkdir build && cd build
- cmake ..
- cmake --build . --parallel
- os: osx
before_install:
- brew install ninja
- os: windows
install:
- cd build
- cmake -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" ..
- cmake --build .
before_install:
- cinst -y ninja

install:
- cd build
- cmake ..
- cmake --build .
- cmake -G Ninja -B build
- cmake --build build

script:
- echo 4 | ./2048

0 comments on commit e0999a7

Please sign in to comment.