forked from LMAX-Exchange/Simple-DSL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
12 lines (12 loc) · 805 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
language: java
jdk:
- openjdk8
sudo: false
env:
global:
- secure: AIBi/yDIwnImwl/wN43Qxpi5W9KdyC6dgrWGDW2BVNAssnKXKVUX1LlALcESAipQVdBAuXKNRKGwgUZSs5k5o5S5gAznaVZV2U2U7jJ+ON7+xhjdJ50qGglwUJaRiKqOiFnka7Ms/yo5LsBmhpvGoZxsLkigaK/0JL7eARWtY+U=
- secure: NYWRJ5gw4x+wR2FiHdRZpu9zChKDK5r82G+xa015wC81Ht2Me+3roYAWZiZwnuBycqFnxzwLaCBRA1ofMW8etranMSoH2LvzIzZHHPA4/R4pbMwGvVIf7ZhuBaTb0TSgOtJmShzyO+T0aJFrOANvhTrBC1spHkhDbeiSy2CzCKI=
before_install:
- echo "<settings><servers><server><id>sonatype-nexus-snapshots</id><username>\${env.CI_DEPLOY_USERNAME}</username><password>\${env.CI_DEPLOY_PASSWORD}</password></server></servers></settings>" > ~/settings.xml
script:
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then ./gradlew clean build publish --settings ~/settings.xml; else ./gradlew clean build; fi"