-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (24 loc) · 795 Bytes
/
.travis.yml
File metadata and controls
29 lines (24 loc) · 795 Bytes
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
notifications:
email: false
matrix:
include:
- os: linux
env: PY_VERSION=2 MINICONDA_NAME=Miniconda2-latest-Linux-x86_64.sh
- os: linux
env: PY_VERSION=3 MINICONDA_NAME=Miniconda3-latest-Linux-x86_64.sh
- os: osx
language: generic
env: PY_VERSION=2 MINICONDA_NAME=Miniconda2-latest-MacOSX-x86_64.sh
- os: osx
language: generic
env: PY_VERSION=3 MINICONDA_NAME=Miniconda3-latest-MacOSX-x86_64.sh
install:
- wget http://repo.continuum.io/miniconda/${MINICONDA_NAME} -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda create --name testing_env --yes
- source activate testing_env
- conda install numpy pytest --yes
script:
- pytest .