-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml.disabled
94 lines (83 loc) · 2.04 KB
/
.travis.yml.disabled
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
language: go
go:
- 1.15.x
branches:
except:
- /exp_.*/
git:
depth: 1
cache:
apt: true
directories:
- "$HOME/opt"
env:
global:
- WAF_VERSION=waf-2.0.18
install: true
jobs:
include:
- go: "1.15.x"
env: USEMOD=1
script: go test -v ./...
- stage: cpp-test-waf
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
before_install:
- export PATH=$HOME/opt/waf-${WAF_VERSION}:$PATH
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- test -x waf-light || {
cd "$HOME/opt" &&
wget "https://gitlab.com/ita1024/waf/-/archive/${WAF_VERSION}/waf-${WAF_VERSION}.tar.gz" &&
tar -zxf "waf-${WAF_VERSION}.tar.gz" &&
cd "waf-${WAF_VERSION}" &&
./waf-light configure build &&
cd $TRAVIS_BUILD_DIR; }
script:
- cd ${TRAVIS_BUILD_DIR}/cpp
- waf-light configure test
- stage: cpp-test-cmake
language: cpp
dist: bionic
script:
- cd ${TRAVIS_BUILD_DIR}/cpp
- mkdir build_cmake && cd build_cmake
- cmake ..
- make
- ./test/fileseq_test
- stage: deploy
script: skip
if: tag =~ ^v\d+
deploy:
provider: script
skip_cleanup: true
script: curl -sL http://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
- stage: doxygen
language: cpp
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
script:
- cd cpp/docs && doxygen && cd $TRAVIS_BUILD_DIR
deploy:
provider: pages
project-name: libfileseq
local-dir: cpp/docs/build
skip_cleanup: true
keep-history: true
github-token: $GH_REPO_TOKEN
on:
branch: master