/
.travis.yml
32 lines (26 loc) · 990 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
sudo: required
language: python
services:
- docker
before_install:
- docker pull ubuntu:16.04
python:
- "3.4"
- "3.5"
- "3.6"
install:
- sudo apt-get -y update && sudo apt-get install -y libgfortran3
- pip install -r requirements.txt
- pip install -r requirements.dev.txt
- pip install -r requirements.docs.txt
script:
- python3 setup.py test
- pylint --version
- pylint --rcfile=pylintrc sockeye -E
- pylint --rcfile=pylintrc test -E
- mypy --ignore-missing-imports --follow-imports=silent @typechecked-files
- check-manifest --ignore sockeye/git_version.py
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then python -m pytest -k "Copy:lstm:lstm" test/system; fi
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then python -m pytest -k "Copy:transformer:transformer" test/system; fi
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then python -m pytest -k "Copy:cnn:cnn" test/system; fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then python -m pytest test/system; fi