forked from storm-ptr/step
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (42 loc) · 954 Bytes
/
.travis.yml
File metadata and controls
42 lines (42 loc) · 954 Bytes
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
language: cpp
sudo: true
os: linux
dist: bionic
git:
depth: 1
matrix:
include:
- env: COMPILER=g++-8
addons:
apt:
packages:
- g++-8
- doxygen
- env: COMPILER=clang++-7
addons:
apt:
sources:
- llvm-toolchain-bionic-7
packages:
- clang-7
- doxygen
script:
- wget -P $TRAVIS_BUILD_DIR/.. https://github.com/catchorg/Catch2/releases/download/v2.9.2/catch.hpp
- cd $TRAVIS_BUILD_DIR/test
- make -f ./makefile.ubuntu test CXX=$COMPILER
- make -f ./makefile.ubuntu clean
- cd $TRAVIS_BUILD_DIR/example/diff
- make -f ./makefile.ubuntu CXX=$COMPILER
- make -f ./makefile.ubuntu clean
- cd $TRAVIS_BUILD_DIR/example/suffix_tree_viz
- make -f ./makefile.ubuntu CXX=$COMPILER
- make -f ./makefile.ubuntu clean
- cd $TRAVIS_BUILD_DIR
- doxygen Doxyfile
deploy:
provider: pages
skip_cleanup: true
local_dir: html
github_token: $GH_REPO_TOKEN
on:
branch: master