forked from BenLangmead/bowtie2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.53 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
sudo: required
language: c++
compiler:
- clang
- gcc
cache: apt
addons:
apt:
packages:
- libtbb-dev
branches:
only:
- master
- cleaner_parsing
- scaling-old-parsing
- batch_parsing
- batch_parsing_output
- blocked_input
- bug_fixes
matrix:
include:
# aarch64 - ARM 64-bit
- name: aarch64
install:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker build --rm -t bowtie2 -f Dockerfile-aarch64 .
script:
# Ping stdout every 9 minutes or Travis kills build,
# as travis_wait does not show the command output while processing.
# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
- |
while sleep 9m; do
echo "====[ $SECONDS seconds still running ]===="
done &
# Suppress warnings to see the Travis log easily.
- CXXFLAGS="-Wno-deprecated-declarations -Wno-misleading-indentation -Wno-narrowing -Wno-unused-function -Wno-unused-result"
# Run "make all" as "make allall simple-test" exceeds the Travis maximum
# time limit (50 minutes).
# Set POPCNT_CAPABILITY=0 to avoid a build error.
# NO_TBB=1 possibly saves the running time.
- docker run --rm -e CXXFLAGS="$CXXFLAGS" -e POPCNT_CAPABILITY=0 -t bowtie2 make -s -j 4 all
script: make allall && make simple-test
notifications:
slack:
secure: tfzT8N1fNV+oSV7tide9WrAj3ifs+LONJ3fCH1tUzexqrx23te4lE0oAj9C1cEMJ4evyRYwHNG8HZoLCOy8EfapqbWm6vgLIlkIBpeZ9E6f2jG6v0YuVDWWpqQC3qdGXCqWtHPjgs3i5OLsLwwQ/LItLoTqpBk2aYv+vGNs2F9g=