forked from kevin218/Eureka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (35 loc) · 852 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
37
38
39
40
41
42
43
44
45
language: python
python:
- '3.7'
- '3.8'
os:
- linux
before_install:
- python setup.py install
env:
- NUMPY_VERSION=1.20.0
install:
- pip install -r requirements.txt
script:
- pytest eureka/tests/
# cache:
# directories:
# - $HOME/miniconda3
#
# before_cache:
# - rm -rf $HOME/miniconda3/pkgs/cache
# - rm -rf $HOME/miniconda3/envs/exoctk-3.6
# - rm -rf $HOME/miniconda3/envs/exoctk-3.7
# before_install:
# - export PATH="$HOME/miniconda3/bin:$PATH"
# - export EXOCTK_DATA="$HOME/exoctk_data/"
# - chmod +x ci/install_conda.sh
# - chmod +x ci/setup_conda_env.sh
# - pip install virtualenv==16.3.0
# install:
# - ci/install_conda.sh
# - ci/setup_conda_env.sh
# - python setup.py install
# script:
# - export PATH="$HOME/miniconda3/envs/exoctk-$PYTHON_VERSION/bin:$PATH"
# - travis_wait 30 pytest