-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
57 lines (46 loc) · 1.74 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
## REMEMBER TO SET UP YOUR GITHUB REPO FOR TRAVIS
## Go to: https://travis-ci.org/monarch-initiative for details
sudo: required
services:
- docker
#before_install:
# - docker pull obolibrary/odkfull
env:
global:
- REPO=RBO
- BUILD_ENV=test
# command to run tests
script:
- cd src/ontology
- travis_wait 60 ./run.sh make prepare_release -B
#after_success:
# coveralls
# whitelist
branches:
only:
- master
- Jack
- goTerms
## Deployment
before_deploy:
- cd ..
- tar -zcf ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz ${TRAVIS_BUILD_DIR}
deploy:
provider: releases
on:
branch: goTerms
api_key:
secure: "OozErSRdGuEfJR5hOvLN+mPmADoYeyV43R2X4WwT/kbzHIZoseWKKPVfu5CiZApKlcuC/7OdrP+kgsim6aKVzwAfEj0DX3tkFfbmqqiZwv7LwCQCxOXBc6NhJX5Gkvimvi9xQD4iqukVT0PEkRAz1BHUBdycp4MNLnmjUjcYcR16R9yX4UNPztJV+b5LTQLA7PsQPgoRD9kRjj99T3njv6cekZr8ajAyxiybLgNS5VJzTpUGH1xpa1OeBnnc9dncwL4QxvTwp1jCXVx0bASsUtsqfUJg3tSnOeMZ6JcijjR0XtY7SqEkm0W/rDlbrlCFK5CbbzgS33DGQBJkZT/wrbsbFbrRoqDJTj0FpD5++aipqEh9GcYD8OgHHSt2Z+GtZuJKn/8T6ucEp93wC2njHps54brG60WmKaMRDpDAtjIqPR5KMsBHvCcGM1NwKF4cTTTtjPQV+m3YqaGPutBME2kQMhCJTa/IEUpI9vioMEP1whphKGE2L9/jm4UP8rCGZAnnjJ8rsIzqE4Uahm7tzn2tHK4U7k2CzoycHmN0hHWOflJCBlr50lejDY4WoEUUfXr4QIo7RUf90hbn+ElieSsAWh8n4GlrDHRg4IIwbqnHEFu9eRwYHB/HvKN2x5W9O5/yZDI8eO5EVgKxnzbp8rj5xW9SjT4SJuCsgrpXpfg="
file_glob: true
file: ${TRAVIS_BUILD_DIR}${REPO}-${BUILD_ENV}-${TRAVIS_TAG}-${TRAVIS_BUILD_NUMBER}.tar.gz
skip_cleanup: true
draft: true
### Add your own lists here
### See https://github.com/INCATools/ontology-development-kit/issues/35
notifications:
email:
recipients:
on_failure: always