-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
50 lines (39 loc) · 869 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
43
44
45
46
47
48
49
50
language: cpp
sudo: false
dist: xenial
cache:
timeout: 1000
pip: true
directories:
- $HOME/Library/Caches/Homebrew
env:
- WHICH=externalproject
- WHICH=fetchcontent
os:
- linux
- osx
addons:
homebrew:
packages:
- gcc
- cmake
- pipenv
update: true
matrix:
fast_finish: true
before_install:
- ./.scripts/travis/install.sh
install:
- pipenv install --three
- pipenv run python --version
before_script:
- test -n $CC && unset CC && export CC=gcc;
- test -n $CXX && unset CXX && export CXX=g++;
- cmake --version
script:
- export PATH=$HOME/Deps/cmake/$CMAKE_VERSION/bin${PATH:+:$PATH}
- cd "$WHICH"
- cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX="${HOME}/Software/cpp-parselglossy"
- cmake --build build --target install -- VERBOSE=1
- cd build
- pipenv run ctest --output-on-failure --verbose