-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (38 loc) · 1.05 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
# what language the build will be configured for
language: python
sudo: no
# Setting some global variables
env:
global:
- KERAS_BACKEND = tensorflow
# Python versions to run
python:
- "3.6"
# Only test the master branch
branches:
only:
- master
before_install:
# - install miniconda
# - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
# - chmod +x miniconda.sh
# - ./miniconda.sh -b -p "$PWD/miniconda/"
# - export PATH="$PWD/miniconda/bin/:$PATH"
# - yes|conda update conda > /dev/null
# Install packages as specified in requirements.txt
install:
- pip install -r requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
script:
- flake8
#- python -m pytest
#- py.test -s --pyargs expressyeaself --cov-report term-missing --cov=expressyeaself --cov-config .coveragerc
- ./run_tests.sh
# calculate and report code coverage
after_success:
- coveralls
- coverage report
# Email notifications
notifications:
email: true