-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
36 lines (26 loc) · 1 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
# force to go for VM container : it has more RAM, necessary for Xtend compilation and update site compression steps
# sudo : required
install: true
language: java
before_script:
- echo $JAVA_OPTS
- export JAVA_OPTS='-Xms1g -Xmx3g'
- echo "MAVEN_OPTS='-Xmx3g'" > ~/.mavenrc
script :
- cd fr.lip6.move.gal.parent && mvn -T 4 -e generate-sources install && cd -
- du -sh fr.lip6.move.gal.updatesite/target/repository
env:
global:
- MAVEN_OPTS="-Xmx3g"
cache:
directories:
- '$HOME/.m2/repository'
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
local_dir: fr.lip6.move.gal.updatesite/target/repository
on:
branch: master
after_deploy:
- curl -s -X POST -H "Content-Type:application/json" -H "Accept:application/json" -H "Travis-API-Version:3" -H "Authorization:token $APITOKEN" -d '{"request":{"message":"Triggered by ITS Tools build.","branch":"master"}}' https://api.travis-ci.org/repo/yanntm%2FITS-commandline/requests