-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.4 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
env:
global:
- TERM=dumb
- secure: f1XNlOpnox3l/MxKM2yEXVwm6lxuTYAP+w25mLH4wgcatQm0JnWkk5RKsjQKZnUkZPn7AfiTi1ZnNMvYD/00EYnsSsYLmBLoT73Zz3hYHT/Ems14ygpO3OdHssb78/VjQsssklqXx2Xseg6j9HyE71REs+VJUGxnpEQsSCW+Lu5LGf14VpB6ZY2usO7EhIpWmG0CE3gO9elqsCfGDwQ7mvZhA04fDRedMqPTp7VATbTKU74qEmfHmLcVcyoxQsnIl0cTB2uQg9RNLPTZw47wujvrLpqIJiTyMqloG5YV2nR5ZL7d67S8VUqYR1igpzt6BWClHd10B48N2u5qiK+58j3NeBwN0GmFPAKuz1qIhqbV6qiRBHYUw+1b9vOhwn9vbDwR88qJQWt6QkQzifhk0wej4fOP7X6ElY+9bNeHQoGynM9HXeZDwdEjyo2XE7Bsh6lrbvGufsDdpdzrVBkxeKaLouFhmGE40cJrxxjesJgEzmmt3H/wcPEUoI4TXe1bvav8fzb2D2Uj5oC0WVfipqWCE5WqxmqzZj9htBs8nfpGJgYHtFV7HQlqPgHWb/QYc2J3P0gKwYXX4AFajbtiDwWdEJtXAZoziIXm/LsQnRVBBDF8FJzK7OBnmammOPSMafuEwdo0POX3tBfcMICxavY1GJnzAZkWB7fL8lNIrXo=
language: java
jdk:
- oraclejdk8
- oraclejdk10
install: true
script:
- export root=$(pwd)
- |
for project in \
hello-nashorn \
; do
cd ${root}/${project}
./gradlew
java -jar ${root}/${project}/build/libs/*-all.jar
./mvnw
java -jar ${root}/${project}/target/*-all.jar
done
before_deploy:
- cd ${root}
- "./mvnw -Pdocs"
deploy:
provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
on:
branch: master
local-dir: target/generated-docs
target_branch: gh-pages
before_cache:
- bash -c 'for item in $(find ~/.gradle -name "*.lock"); do sudo rm -rf $item ; done'
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"
- "$HOME/.docker"