forked from monarch-initiative/mondo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.61 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
dist: bionic
sudo: required
services:
- docker
before_install:
# The following triggers the Jenkis build. Shahim is managing this.
- >
export CMTMSG="$(jq -nc --arg str "${TRAVIS_COMMIT_MESSAGE}" '$str')";
echo "Commit message is: ${CMTMSG}";
curl -X
POST "https://ci.monarchinitiative.org/job/test-mondo/build"
-H "Jenkins-Crumb:${ShahimCSRFCrumb}"
--user "essaids:${ShahimAPIToken}"
-f
--form json='{
"parameter": [
{"name":"MONDO_BRANCH", "value":"'"${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}}"'"},
{"name":"TRAVIS_BRANCH", "value":"'"${TRAVIS_BRANCH}"'"},
{"name":"TRAVIS_COMMIT", "value":"'"${TRAVIS_COMMIT}"'"},
{"name":"TRAVIS_COMMIT_MESSAGE", "value":'"${CMTMSG}"'},
{"name":"TRAVIS_PULL_REQUEST", "value":"'"${TRAVIS_PULL_REQUEST}"'"},
{"name":"TRAVIS_PULL_REQUEST_BRANCH", "value":"'"${TRAVIS_PULL_REQUEST_BRANCH}"'"},
{"name":"TRAVIS_PULL_REQUEST_SHA", "value":"'"${TRAVIS_PULL_REQUEST_SHA}"'"},
{"name":"TRAVIS_EVENT_TYPE", "value":"'"${TRAVIS_EVENT_TYPE}"'"},
{"name":"TRAVIS_BUILD_WEB_URL", "value":"'"${TRAVIS_BUILD_WEB_URL}"'"},
{"name":"TRAVIS_BUILD_NUMBER", "value":"'"${TRAVIS_BUILD_NUMBER}"'"}
]}';
echo sleeping;
sleep 500;
echo sleeping;
sleep 500;
echo sleeping;
sleep 500;
echo sleeping;
sleep 500
#- docker pull obolibrary/odkfull
before_script:
- cd src/ontology
script:
- echo "Skipping"
##- ./run.sh make test
# whitelist
branches:
only:
- master
### UNCOMMENT THIS AND ADD YOUR DETAILS:
#notifications:
# email: