forked from TGAC/KAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (33 loc) · 1.14 KB
/
.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
language: cpp
matrix:
include:
- os: linux
sudo: required
compiler: gcc
env: PLOT=none
- os: linux
sudo: required
compiler: gcc
env: PLOT=python
- os: linux
sudo: required
compiler: gcc
env: PLOT=gnuplot
- os: linux
sudo: required
compiler: gcc
env: COMPILER=GCC5 PLOT=python
- os: osx
compiler: clang
# Setup compiler
before_install:
- ./.travis/before_install.sh
# Install dependencies: (Boost and python, and setup KAT)
install:
- ./.travis/install.sh
# Build KAT
- ./autogen.sh
# Make sure python's available at runtime (if necessary) and then build KAT and run tests
script:
- if [[ "$PLOT" == "python" ]] || [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="$HOME/miniconda/bin:$PATH" && source activate test-environment && export LD_LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib:$LD_LIBRARY_PATH"; fi
- ./configure --disable-silent-rules && make && make check && make distcheck