forked from tensorflow/tfjs-converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (38 loc) · 1011 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
34
35
36
37
38
39
40
41
git:
depth: 5
cache: yarn
matrix:
include:
- language: node_js
node_js:
- "8"
- "10"
script:
- yarn build
- yarn lint
- yarn test-travis
- language: python
python: 2.7
before_script:
- cd python
- pip install -r requirements-dev.txt
script:
- pylint --rcfile=.pylintrc tensorflowjs
- ./run-python-tests.sh
- language: python
python: 2.7
before_script:
- cd python
- pip install -r requirements-dev.txt
script:
- deactivate && ./build-pip-package.sh --test /tmp/tfjs-pips
- language: python
python: 3.6
before_script:
- cd python
- pip install -r requirements-dev.txt
script:
- pylint --rcfile=.pylintrc tensorflowjs
- ./run-python-tests.sh
# Note: Since the build-pip-package.sh script runs both py2 and py3,
# there is no need to run it again in this Python 3.6 environment.