forked from gatling/gatling
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (26 loc) · 822 Bytes
/
.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
language: scala
jdk:
- oraclejdk8
sbt_args: -Xmx2048M
before_script: ./make_credentials.sh
script:
- sbt test
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
- "[[ $TRAVIS_PULL_REQUEST == \"false\" ]] && sbt publish || true"
# If building master, Publish to Sonatype and trigger builds
after_success:
- "[[ $TRAVIS_PULL_REQUEST == \"false\" ]] && ./trigger_build.py gatling/gatling-highcharts-maven-archetype"
- "[[ $TRAVIS_PULL_REQUEST == \"false\" ]] && ./trigger_build.py gatling/gatling-maven-plugin"
- "[[ $TRAVIS_PULL_REQUEST == \"false\" ]] && ./trigger_build.py gatling/gatling-sbt"
sudo: false
# Cache settings
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/launchers
# whitelist
branches:
only:
- master
- 2.2