-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
28 lines (28 loc) · 840 Bytes
/
.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
language: python
python:
- "3.6"
os: linux
dist: trusty
before_install:
# Install miniconda3
- sudo apt-get update
- sudo apt-get install build-essential
- sudo apt-get autoremove -y
- sudo apt-get clean
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh;
bash Miniconda3-latest-Linux-x86_64.sh -b;
export PATH="$HOME/miniconda3/bin:$PATH";
rm Miniconda3-latest-Linux-x86_64.sh;
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
install:
# Create test environment with neurowriter dependencies
- conda create -q -n test-environment python=3.6
- source activate test-environment
- make install build-image
- pip install nose coveralls
script:
# Tests
- source activate test-environment && make tests tests-docker
after_success:
- coveralls