forked from ufal/neuralmonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 840 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
32
33
sudo: required
dist: trusty
group: deprecated-2017Q3
language: python
env:
matrix:
- TEST_SUITE=lint
- TEST_SUITE=pycodestyle
- TEST_SUITE=unit-tests
- TEST_SUITE=tests
- TEST_SUITE=mypy
- TEST_SUITE=doclint
python:
#- "2.7"
#- "3.4"
- "3.5"
#- "3.5-dev" # 3.5 development branch
#- "nightly" # currently points to 3.6-dev
# commands to install dependencies
before_install:
- sudo apt-get install libtcmalloc-minimal4
- export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
- easy_install distribute
- pip install -r requirements.txt
- if [ -f tests/$TEST_SUITE""_requirements.txt ]; then pip install -r tests/$TEST_SUITE""_requirements.txt; fi
- if [ -f tests/$TEST_SUITE""_install.sh ]; then tests/$TEST_SUITE""_install.sh; fi
# command to run tests
script: tests/$TEST_SUITE""_run.sh