Skip to content

Commit e9cf380

Browse files
authored
Merge 88c3376 into d21a6a6
2 parents d21a6a6 + 88c3376 commit e9cf380

File tree

3 files changed

+862
-0
lines changed

3 files changed

+862
-0
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: node_js
2+
node_js:
3+
- "lts/*"
4+
5+
install:
6+
- npm i -g swagger2openapi
7+
8+
script:
9+
- swagger2openapi src/main/resources/swagger/ga4gh-tool-discovery.yaml -o src/main/resources/swagger/openapi.yaml
10+
11+
before_install:
12+
- openssl aes-256-cbc -K $encrypted_f356a5c69655_key -iv $encrypted_f356a5c69655_iv -in github_deploy_key.enc -out github_deploy_key -d
13+
14+
after_success:
15+
- eval "$(ssh-agent)"
16+
- chmod 600 github_deploy_key
17+
- ssh-add github_deploy_key
18+
- git checkout -B ${TRAVIS_BRANCH}
19+
- git add src/main/resources/swagger/openapi.yaml
20+
- git commit -m "OpenAPI changed"
21+
- echo "Pushing changes"
22+
- git push [email protected]:ga4gh/tool-registry-service-schemas ${TRAVIS_BRANCH}
23+

github_deploy_key.enc

3.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)