diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2019-12-28 16:38:26 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2019-12-28 16:38:26 +0100 |
| commit | 2006e67303f31da2e5a359993e08d25c02751c5a (patch) | |
| tree | c8ab112f69a26e258b706a7db42723e2e253e8ac /.travis.yml | |
| parent | 3cc01ed408dda6a0865d6c89958778a3d9deed08 (diff) | |
| download | newtype-2006e67303f31da2e5a359993e08d25c02751c5a.tar.xz newtype-2006e67303f31da2e5a359993e08d25c02751c5a.zip | |
build: add Travis CI configuration
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5091396 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +os: linux +language: python +python: "3.7" +dist: bionic + +addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: ['g++-9'] + +compiler: + - gcc + +env: + - CXX=g++-9 + +cache: + directories: + - $HOME/.conan/data + +install: + - pip install conan + - conan user + +script: + - mkdir -p build + - cd build + - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON .. + - cmake --build . --target all + - ctest |
