forked from bonsai-team/matam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (38 loc) · 1.17 KB
/
.travis.yml
File metadata and controls
44 lines (38 loc) · 1.17 KB
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
dist: trusty
sudo: required
language: cpp
#gcc 4.9
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
before_install:
# - ./travis_download_db.sh & pid=$!
- free -m
- eval "${MATRIX_EVAL}"
install:
- sudo apt-get -qq update
# - sudo apt-get install -y xz-utils
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
# Useful for debugging any issues with conda
- conda info -a
- conda env create -n matam -f environment.yml
- source activate matam
- ./travis_build.sh
# - cd $HOME && wget https://sourceforge.net/projects/quast/files/quast-4.6.1.tar.gz && tar xvf quast-4.6.1.tar.gz && export PATH="$HOME/quast-4.6.1":$PATH && cd -
# Wait until the db is dowloaded
# - while kill -0 $pid 2> /dev/null; do sleep 1; done;
script:
- travis_wait 60 pytest -rs