-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
59 lines (57 loc) · 2.11 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
58
59
language: python
matrix:
include:
- name: "Xenial Linux"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
before_install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- export BOTO_CONFIG=/dev/null
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
- name: "macOS"
os: osx
osx_image: xcode11.3 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
# python: 3.7 # 'python:' is ignored on Travis CI macOS
before_install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- export BOTO_CONFIG=/dev/null
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
- name: "windows"
os: windows
language: shell
before_install:
- choco install anaconda3 --params '"/AddToPath /JustMe"'
- export PATH="/c/tools/anaconda3:/c/tools/anaconda3/Scripts:$PATH"
- source activate base
- conda config --set always_yes yes --set changeps1 no
- conda clean --all
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
allow_failures:
- name: "windows"
branches:
only:
- master
- develop
- release
install:
- conda env create -f environment.yml
- source activate topicmodel
script:
- python setup.py install
- travis_wait 90 coverage run -m pytest -v topic_model_to_Shiny_app/tests/
- coverage xml
- bash <(wget -q -O - https://coverage.codacy.com/get.sh) report -l python -r coverage.xml