mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 15:14:39 +00:00
Create .travis.yml
This commit is contained in:
parent
2c71311b5f
commit
895969a4f6
22
.travis.yml
Normal file
22
.travis.yml
Normal file
@ -0,0 +1,22 @@
|
||||
sudo: false
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty-5.0
|
||||
packages:
|
||||
- g++-7
|
||||
- clang-5.0
|
||||
env:
|
||||
- CXXFLAGS="-std=c++17"
|
||||
install:
|
||||
- "[ $CXX = g++ ] && export CXX=g++-7 || true"
|
||||
- "[ $CXX = clang++ ] && export CXX=clang++-5.0 || true"
|
||||
script:
|
||||
- mkdir build && cd build
|
||||
- cmake ../.
|
||||
- make && make check
|
Loading…
Reference in New Issue
Block a user