-
Notifications
You must be signed in to change notification settings - Fork 159
/
.travis.yml
70 lines (59 loc) · 1.75 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
68
69
# travis.yml for github.com/jts/nanopolish
language: generic
matrix:
include:
- name: GNU compilers gcc-4.9 & g++-4.9
os: linux
arch: amd64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: "CC=gcc-4.9 CXX=g++-4.9 AR=gcc-ar-4.9 NM=gcc-nm-4.9 RANLIB=gcc-ranlib-4.9"
- name: GNU compilers gcc-8 & g++-8
os: linux
arch: amd64
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env: "CC=gcc-8 CXX=g++-8 AR=gcc-ar-8 NM=gcc-nm-8 RANLIB=gcc-ranlib-8"
# - name: ARM64 build with system packaged HDF5 library
# os: linux
# arch: arm64
# addons:
# apt:
# packages:
# - libhdf5-dev
# env:
# - HDF5="system"
# - H5_INCLUDE="-I/usr/include/hdf5/serial"
# - LDFLAGS="-L/usr/lib/aarch64-linux-gnu/hdf5/serial"
# - ARM=1
- name: CPython 3.7.6 on Ubuntu 16.04 (Xenial Xerus)
language: python
os: linux
dist: xenial
python: 3.7.6
script:
- cd scripts && python3 -m pip install -r requirements.txt && cd ..
- make && make test
- name: CPython 3.6.10 on Ubuntu 16.04 (Xenial Xerus)
language: python
os: linux
dist: xenial
python: 3.6.10
script:
- cd scripts && python3 -m pip install -r requirements.txt && cd ..
- make && make test
before_script:
# Suppress all compiler warnings for hdf5 Makefile
# to display the log without downloading the raw log on Travis log page.
# Travis finishs with error when exceeding the limit of 4 MB of log length.
- export H5_CFLAGS="-w"
script:
- make && make test