-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
38 lines (32 loc) · 2.16 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
# Main dist is Python
language: python
python:
- 3.6
# Cache package wheels
cache: pip
# python3.7 only available on xenial
dist: xenial
before_install:
- export SUPERGLUEDATA=$(pwd)/data/
- bash download_superglue_data.sh $SUPERGLUEDATA
install:
- pip install -U pip
- pip install -U -r requirements.txt
- pip install -U runipy
script:
- python run.py --task CB --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- python run.py --task COPA --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- python run.py --task MultiRC --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- python run.py --task RTE --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- python run.py --task WiC --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- python run.py --task WSC --n_epochs 1 --batch_size 2 --max_data_samples 4 --bert_model bert-base-cased --checkpointing 0
- travis_wait 30 runipy tutorials/COPA_pretrain_tutorial.ipynb
- travis_wait 30 runipy tutorials/RTE_slicing_tutorial.ipynb
- travis_wait 30 runipy tutorials/WiC_augmentation_tutorial.ipynb
- travis_wait 30 runipy tutorials/WiC_slicing_tutorial.ipynb
notifications:
email:
recipients:
secure: "d91inMv9lhRuSDEbT+aRtsrGC0M8VSvloPSoDt1k9k1y1EuduRF3+QuE3kd1T2sz0ARypWvDj1M89Gyfnbdrg/rphmBIIOaLQdjA+zueid6Dpc/6Xxe2nnXCjS+7PL7CkKjHo7iE3XW97Hep7WUEv3A60bD5O9kx0mS9qbKeO5KJTmb7zctVF6s1jz8VGewS+XybDW5ZJ0KDVhvlvunJt+PCDXfGAFxdEuXGF6dOtyAXzZ5h7aRooj06QQPyDO8sDmpbwritR2SXw3OBZi3xO4qZOfLyFWtuo6VvMRTaNa4UNnyP0QGZbHuzZe6/SAqPrU417XwuklVHJQchRFPFrQxcRgNKjOXgD8KM5cuQJJEJIIpppEp0fO902F13Kci9D4Fysd2rCFZWzStTyeyDWYMPtkiNZfWlBVxPUFQcXRAXyz3e7kz6kIVUGnBiuruYrmBb5iuz9dlB8vJfeIml4iAoPnUs1J+NNiirqqRPt629Y3LaISWxcIN/v+oQp+W1XxmwjSf/FhpTDsqG1if7ks4VMjdoFgR76bZ8qBiKBLsdggJPyTljoOs+Tnhe18P2szfNyL47u+/QaZtliR2+bS7dmr9Sd5ol4cfb71xgGJBcJGf3e5OcgAgy3vZdshEGTGHxN+ykRRK4iOcFPjnyLwJmUUEbbn6jpFE0H3N1r2s="
on_success: change # default: change [change, always, never]
on_failure: change # default: always