-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (37 loc) · 1.83 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
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
# Deploy all tagged versions to PyPI
deploy:
provider: pypi
distributions: sdist bdist_wheel
skip_cleanup: true
user: tdomhan
password:
secure: rt023V0dxRa8M3A8qxokDoacS0lrWW8kerbbxijgGH1XKk0cFW4EWat9IlckpGchaLLpVa0mSl/c15l+uZYsxN13DcI/2Yck9uYLUMUMC6VxUtyxX/sSVR+d7NIzfZjPNeiSeJU7SYAMNbtnt03+1jmLrmsvF1j48IkLWqYnvVfXgsmQuCUjid7FX8RV1RIZxV+n4amIRFmeiA4loFtiupSvZyndYOckmsN/rNJGbqZJi8QdaqYDbhzOM9/kMJ0W0koosVIH5OXmuPWpC0x1lJXaN+PLXu5rT2R+nWjfOH3zM7k0Mx41TCa1serCdQ7RjaC5wYFjQpDWy7NdAzhauPTc7qFOoJgupfCoYIL6ZU2GZ8FAFZw3qeWEPS56eHSABSfqc1FfY+4QdbUU+TIcu9iRtYrNf6Ai4yPYY9x2M9o1c6D2fL0e7XUPM8h4B/DA4rq5wHb6vgIfsR7fT6xzyXw/x553s0IDEBfG1OVTuRYeEW6a40aeLkxYIwUvhygBRuzZTB0MfMum3JTnv7YXhNmy62osmSFjXOgWUuligdEUuqboZMNSaU4KVb466XfZxKKkkcVsH86d1+237p5jI5TLHKouPXmiChfO1joSKDsY32Cw3q3luNQQYRXJTwgegoIgAfeth9C791JyiIzI3lOzkwaT31J4bpMwEt10jmc=
on:
tags: true
python: "3.6"