This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
49 lines (49 loc) · 2.4 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
48
49
dist: xenial
language: python
python:
- '3.4'
- '3.5'
- '3.6'
- 3.7
env:
global:
- CODECOV_TOKEN="1384d50e-aaea-4dc0-857c-23a0287ec68b"
matrix:
- RK_TF_VERSION=tensorflow==1.12.2
- RK_TF_VERSION=tensorflow==1.13.1
- RK_TF_VERSION=tensorflow==2.0.0a0
matrix:
exclude:
- python: 3.7
env: RK_TF_VERSION=tensorflow==1.12.2
install:
- echo "1.1.$(git rev-list --all --count)" > VERSION.txt
- pip install $RK_TF_VERSION
- pip install -r requirements.txt
- pip install tensorflow_datasets
- pip install nltk
- pip install -e .
script:
- pytest --cov=./
- codecov
jobs:
include:
- stage: deploy
python: 3.6
script: skip
git:
depth: false
env: RK_TF_VERSION=tensorflow==1.13.1
before_deploy:
- echo "1.1.$(git rev-list --all --count)" > VERSION.txt
deploy:
- provider: pypi
skip_cleanup: true
user: davidchan
distributions: "sdist bdist_wheel"
on:
branch: develop
password:
secure: vI7eOaibtI9prJhHVsZCcMMPQtTYuC7S+Uy5V4ZX4DStgxxqKWztsHGF/DEu/0bBWa7Yew4o9y9xub/+O0D0WKdTlJCeGTwvaImPWZ9Byx8bcnY++G/+y6sX1F+UuCjqQQ9lnaCRqrIZHbiZpKAhhQGf3FDgwS/bL3PjNG0abzO2SNFDXLlvVajciAp3dIBxUJmZsZjOMDFRVTlA1ybSfGpfWwAptczgfzVP9x8q9a2cXxlm+Q7uPP6AtALUk3eSuAn9ohx/gBFwo7yJPr+pSK7Lvcv/u+ZiRPFivycnq1TUtyxQY1WbMfis8l31dKeSWbnGRc7QSvktyCYzCmMzBzuc1Im1r6wiZ/134fe62BJMi25piT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