-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
53 lines (42 loc) · 1.16 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
# After changing this file, check it on:
language: python
# Run jobs on container-based infrastructure, can be overridden per job
sudo: false
matrix:
include:
- python: 3.6
install:
- 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 info -a
# Build out environment
- conda create -n janus python=3.6 psi4 psi4-rt numpy openmm -c psi4 -c omnia
- source activate janus
- conda list
# Install various required modules
- pip install --upgrade pip setuptools
- pip install pytest pytest-cov pytest-datafiles
- pip install codecov
- pip install mendeleev
- conda install -c conda-forge mdtraj
- pip install Sphinx
# Install the plugin locally
- pip install -e .
before_script:
- uname -a
- free -m
- df -h
- ulimit -a
- python -V
- python -c 'import numpy; print(numpy.version.version)'
script:
- pytest -v --cov=./
# after_success:
# - ./tools/travis-upload-wheel.sh
notifications:
email: false
after_success:
- codecov