-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (36 loc) · 953 Bytes
/
.travis.yml
File metadata and controls
42 lines (36 loc) · 953 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: generic
cache:
directories:
- $HOME/.pip-cache/
dist: xenial
env:
matrix:
- PYENV_VERSION=3.7.3
global:
- PIPENV_YES=1
- PYENV_ROOT=$HOME/.travis-pyenv
- PIPENV_VENV_IN_PROJECT=1
- PIPENV_IGNORE_VIRTUALENVS=1
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- CODECOV_TOKEN="59a0baf8-461c-4d50-b6d3-ad40bed4ae21"
# install pyenv with travis-pyenv
before_install:
- wget https://github.com/praekeltfoundation/travis-pyenv/releases/latest/download/setup-pyenv.sh
- source setup-pyenv.sh
notifications:
email: never
install:
- pip install --upgrade pip
- pip install pipenv --upgrade
- pipenv install pyvis
- pipenv install spacy
- pipenv install pytest
- pipenv install plotly
- pipenv install streamlit
- pip install coverage
script:
- pipenv run pytest src/beagleTM2_parser_helperCode_test.py
- pipenv run pytest src/beagleTM2_browser_helperCode_test.py
after_success:
- pipenv run codecov