forked from ViennaRNA/ViennaRNA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (55 loc) · 1.23 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
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
dist: focal
compiler:
- gcc
addons:
apt:
packages:
- gcc
- g++
- gengetopt
- flex
- help2man
- libgsl-dev
- doxygen
- doxygen-latex
- libperl-dev
- python3-dev
- graphviz
- texlive-latex-base
- texlive-latex-recommended
- texlive-latex-extra
- check
- texinfo
- diffutils
- xxd
before_script:
- autoreconf -i
install:
- wget https://github.com/swig/swig/archive/rel-4.0.2.tar.gz
- tar -xzvf rel-4.0.2.tar.gz
- pushd swig-rel-4.0.2 && ./autogen.sh && ./configure --prefix=/usr && make && sudo make install && popd
script:
- cd src && tar xzf libsvm-3.25.tar.gz && cd ..
- cd src && tar xjf dlib-19.23.tar.bz2 && cd ..
- ./configure --with-cluster --with-kinwalker --disable-lto
- make -j${CPU_COUNT}
- make check
before_deploy:
- make dist-gzip
- make dist-zip
- export DIST_GZIP=$(ls ViennaRNA-*.tar.gz)
- export DIST_ZIP=$(ls ViennaRNA-*.zip)
- echo "Deploying Changelog and autoconf's dists (${DIST_GZIP} and ${DIST_ZIP}) to GitHub releases"
deploy:
provider: releases
api-key: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
overwrite: true
file:
- "${DIST_GZIP}"
- "${DIST_ZIP}"
- CHANGELOG.md
on:
repo: ViennaRNA/ViennaRNA
tags: true