forked from HL7/fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (21 loc) · 882 Bytes
/
.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
# Build & Run FHIR Publisher, and push output to FHIR Current Build publication servers
langauge: java
jdk:
- oraclejdk8
cache:
directories:
- '$HOME/.m2/repository'
- build/tools/java/imports
script: ./build.sh
sudo: required
notifications:
email: []
webhooks:
- https://chat.fhir.org/api/v1/external/travis?stream=committers&topic=ci-notifications&api_key=IelOy1KhccEy3QpRIeOrtQUTqw98Kvr8
before_install:
- openssl aes-256-cbc -K $encrypted_7d142fa10e4e_key -iv $encrypted_7d142fa10e4e_iv -in deploy.build.fhir.org.enc -out ~/deploy.build.fhir.org -d
- chmod 600 ~/deploy.build.fhir.org
after_success:
- cd publish
- echo -e "Host build.fhir.org\n Compression yes\n StrictHostKeyChecking no\n User fhir_upload\n IdentityFile ~/deploy.build.fhir.org" > ~/.ssh/config
- tar czf - * | ssh -p 2222 build.fhir.org ./publish $TRAVIS_BRANCH