-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
89 lines (81 loc) · 2.38 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
git:
depth: false
branches:
except:
- "/^wip/"
- "/^dependabot/"
language: python
python: 3.8
cache: pip
install:
- pip install flake8
- pip install -e .
- python3 -m spacy download en_core_web_sm
stages:
- test
- name: deploy
if: type = push AND branch = master AND repo = stanford-oval/genienlp
jobs:
include:
-
name: "Main tests for almond task"
stage: test
script:
- bash ./tests/test_main_almond.sh
-
name: "Paraphrasing tests"
stage: test
script:
- bash ./tests/test_paraphrasing.sh
-
name: "Translation tests"
stage: test
script:
- bash ./tests/test_translation.sh
-
name: "E2E Dialogues tests"
stage: test
script:
- bash ./tests/test_e2e_dialogues.sh
-
name: "NED tests"
stage: test
script:
- bash ./tests/test_NED.sh
-
name: "Token Classification tests"
stage: test
script:
- bash ./tests/test_token_classification.sh
-
name: "Sequence Classification tests"
stage: test
script:
- bash ./tests/test_sequence_classification.sh
-
name: "Calibration tests"
stage: test
script:
- bash ./tests/test_calibration.sh
-
name: "KF server tests"
stage: test
script:
- bash ./tests/test_kfserver.sh
-
name: "Docker build"
stage: deploy
services:
- docker
install:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
script: ./travis/docker-build.sh
deploy:
provider: pypi
username: __token__
password:
secure: wmUc0koTAKIbmw2jZTUujZFdMlUYDH+1Hb8F6eGEy9uYQfq3lVK4vQmpdasiuWP0kvonxIscwLCxlu0RBKchheuIrZPsAN+aXGmWLsVfZwGSD7IARPtahoR2ce60Ap5Lv3WUhGxRFEAkccr8wfHU/pajTZH/OC9omS3hJnq2FwbxFlZ0v35PzbTSdxY5gOoWFmzfGsihJJLD8u2Bce5pGChJT4Azccav8oyPgxXZKqsWfbfkSr5rORYFZSzNGXX1QVbrq3QGLig2NuK5L43X8NIUGiGmaVJUEJBroGd7TIKhZpSXPJS5VZefdaG+efd9FtdBHbaC8f72VpcB1Kmb8tIIATcU29Qj1JNgPnxwXz3PFUDkXSmuo8YQb6HWU83Ay7vNMK1wIXlf7A+whJvskpFGNysGstzws/B49+P7PFLZGr4reMWXCnSsaOHpGsCoA0iPOW+nX7OtfwyWlgmBM6npx+MeGCOelUZ9jiTc5w0AblakXCNigRdffc2X7ScGywfPaU7OaHviOk/QGgHRkKqFGllMQFy4BXQCUWvLNqGAuocaGBjff6bxVr2xm8kdvrDNay07uGLndngeAIR+a9cYHlTlyRbILLwsQ16td+MvAe4KPNO9HdNKyl/wYRW8E617XEnSEZM6t/v30a+2raNcwGix7ZsHWRjx2m0Hn2U=
on:
tags: true
repo: stanford-oval/genienlp
distributions: sdist bdist_wheel