-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.old
47 lines (47 loc) · 1.46 KB
/
.travis.yml.old
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
language: java
sudo: required
dist: bionic
lein: 2.9.1
jdk:
- openjdk8
services:
- docker
env:
global:
# AUTH0_CLIENT_SECRET, AUTH0_CLIENT_ID are set in Travis repo settings
- SPARQL_QUERY_ENDPOINT='http://localhost:5820/drafter-client-test/query'
- SPARQL_UPDATE_ENDPOINT='http://localhost:5820/drafter-client-test/update'
- DRAFTER_ENDPOINT='http://localhost:3001'
- DRAFTER_JWS_SIGNING_KEY=foo
- AUTH0_DOMAIN=https://dev-kkt-m758.eu.auth0.com
- AUTH0_AUD=https://pmd
- TRAVIS_BRANCH_ESC="${TRAVIS_BRANCH//\//_}"
cache:
directories:
- $HOME/.m2
- .cpcache # tools.deps classpath cache
- drafter/.cpcache # tools.deps classpath cache
before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- "sudo ./travis/install_base.sh"
- "./travis/install_services.sh"
install:
- cd drafter && clojure -A:dev:test -Spath && cd ..
- cd drafter-client && clojure -A:dev:test -Spath && cd ..
before_script:
- "./travis/before_script.sh"
script:
- ./travis/test-all
after_success:
- ./travis/after_success.sh
deploy:
- provider: script
script: "clojure -A:omni publish -f drafter/target/drafter-pmd3-${TRAVIS_BRANCH_ESC}-${TRAVIS_BUILD_NUMBER}.zip"
skip_cleanup: true
on:
all_branches: true
- provider: script
script: "clojure -A:omni publish -f drafter/target/drafter-pmd4-${TRAVIS_BRANCH_ESC}-${TRAVIS_BUILD_NUMBER}.zip"
skip_cleanup: true
on:
all_branches: true