forked from hgrecco/pint_downstream_tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (29 loc) · 965 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
29
30
31
32
33
34
35
36
language: python
python:
- "3.5"
branches:
only:
- master
before_install:
- sudo apt-get update
- 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
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
- export ENV_NAME=travis
install:
- conda create -c mwcraig --yes -n py34 python=3.4 pip numpy scipy
- source activate py34
- pip install https://github.com/hgrecco/pint/archive/master.zip
script:
# pyEQL
- git clone --depth 1 --branch 0.3.1 https://github.com/rkingsbury/pyEQL
- cd pyEQL
- python -m unittest pyEQL/tests/*