forked from mulesoft/api-designer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (51 loc) · 5.51 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
sudo: false
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install -g bower
- bower update
- node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- test $TRAVIS_PULL_REQUEST != false && exit 0
- grunt build
- tar -czf dist.tar.gz dist
- echo -n $id_rsa_{00..30} >> ~/.ssh/id_rsa_base64
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- export DIST_DIR="html/${TRAVIS_BRANCH}"
- ssh ${ACCEPTANCE_USER}@${ACCEPTANCE_HOST} rm -rf ${DIST_DIR}
- ssh ${ACCEPTANCE_USER}@${ACCEPTANCE_HOST} mkdir -p ${DIST_DIR}
- scp -r dist.tar.gz dist/* ${ACCEPTANCE_USER}@${ACCEPTANCE_HOST}:${DIST_DIR}/
env:
global:
- secure: "i6aD/NEugSc2H/0dKVKw59fgo1Zy8GvbUVjUVPGqUt9IykCGJD0rzFKA4P+A7oHfN0I84tH+AVKLRHFDXXLSczD1pZuTJJUODQ4k6dHBQcoXFcJJ2QlfFO87gwif4hceJ3+otkXF8r6pCAjjUVmuEK6pnmZqs19gj02lgBSWWas="
- secure: "Hii36do5qaVRNSfIRS1s3t4KlmwTbEdzlXozghBLPAIK4pnmtN6oqyN+c7kGthPzGDFXFjikIMPcOvaE2qOOlPV2KuoIgGkJwwNbfyzb96jn2RGt11zWhfVWReHlJKyPGglerYfDAx/bT2lVAwLdYod1zlB8J/KF7K+CFV9TL2E="
- secure: "i+0N6BVbNLQRMBbLm8f4qVKjND+gq5vULZiZS9j/jC5fdr6S+iwZHoGxHLheAcb5L61TEspOT837yLKzZKPMHjJdfwv8jMXpWHOcUHh+bFrvflxkORiia/So7j2j+twdyM46qoH3HqFAUcuZiLdLOuFZ5rzEORA2iqr+ziw6jJY="
- secure: "FIF72eJNgpxh+AePi9A/E1FBY6lwvsS/yOTlcJ+CHmnFLwQLmxic5WXdbkoEd63WhqoPoaqahqOCLIGpl2rWf9h7CSiXXNOqcbye1AorAjPX//YwLwGA2h6zuyPevviHB8ATSlwMHPym6V3XmQuqvkngbUiK35ZKxjG5UmES+Rk="
- secure: "p0F+rBtPlqHGmbE9eo8eA2K0xfz9ZdCaUbxEZEgpAK4CORLEvLNfUEMLPdU24dWLA2TYOXuZJGrpOLOwPUzW3EMNyMEWmWgNPaTwcSQOX0IdMe9kBw9ewiChVCMTQwq/PrkA4/vMXtriPzZbt1oMVgW87z2avv0VwzcdjXWZLiw="
- secure: "c6meMfa+oNBd5CABsrf72uQs7LPftHk6DGFfElqHrc7ayug9bX55QUUaQML8zzlRjsPSXuHdXFe0Joof2FytCvJKtCx1vup3slzDCw21rHbULyOrAC9KaHpEreADgjFRztHJ9IH8RFPPiHbYztT5X2hvOV0syBJutKep+xw1O08="
- secure: "o26e0rnruVmbI9fMANQyhK4z1wfJnwgBun4uoQsIXi5nPw7sug431Qs8s3OIRrB+2TAV/985ImFJnNurCcLCU9QFiXD+1HLOLyV8tL2gptVgkTY8YIyGL9fmuiK6mZOVThjbo4lvW2KzRh8nMl9lQD+ls65UmJpugUl+JNrbE5k="
- secure: "nLRGEnrs7mmQiBoYJsKmthi3aLklvS50n+5CPHnWb2hkA5Vx27WwvoXWsXjrn7SnnKIanuJhquWEQ513uGgJt2w/6mnk+FsdTU7kMCFE3lC2zImS0svExXiMBAgRw3eUmMKcJyxwGgui2g8XPSc1naoYpXZvHYdH/F5z21/npt0="
- secure: "ITj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