forked from MolSSI-Education/SSS_2017_QuESt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (45 loc) · 1.25 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
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
# Run jobs on container-based infrastructure, can be overridden per job
sudo: false
# We do not work on the "trusty" container yet
dist: precise
matrix:
include:
- os: linux
env:
- PYTHON_VER='3.5'
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 update -q conda
- conda info -a
# Build out environment
- conda create -n sss python=3.5 pyyaml matplotlib cmake psi4 numpy lawrap cmake scipy mkl-include gcc-5-mp -c intel -c psi4/label/dev -c psi4
- source activate sss
- conda list
# Install various required modules
- pip install --upgrade pip setuptools
- pip install pytest pytest-cov
- pip install codecov
# Build the C++
- python setup.py cmake
# 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:
- py.test -v --cov=./
notifications:
email: false
after_success:
- codecov