-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (34 loc) · 960 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
os: linux and windows
language: cpp
jobs:
include:
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- lcov
before_install:
- export CC=gcc-7
- export CXX=g++-7
install:
- sudo add-apt-repository -y ppa:snaipewastaken/ppa
- sudo apt-get update
- sudo apt-get -y install criterion-dev
script:
- cmake . -DOPENZIA_TESTS=TRUE -DOPENZIA_COVERAGE=TRUE -DOPENZIA_WERROR=TRUE
- cmake --build .
- ./openZiaTests
after_success:
- bash <(curl -s https://codecov.io/bash)
- os: windows
compiler: msvc
install:
- choco install -y visualstudio2019community visualstudio2019-workload-nativedesktop
script:
- cmake . -DOPENZIA_TESTS=FALSE -DOPENZIA_COVERAGE=TRUE
- cmake --build .