forked from microsoft/vsts-authentication-library-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 938 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
language: java
addons:
apt:
packages:
# http://packages.ubuntu.com/precise/ping
# Commented out inetutils-ping because it's not in the whitelist
# https://github.com/travis-ci/apt-package-whitelist/pull/966
#- inetutils-ping
# http://stackoverflow.com/questions/14694139/how-to-resolve-dependencies-between-modules-within-multi-module-project
install: mvn compile org.apache.maven.plugins:maven-dependency-plugin:2.10:go-offline --batch-mode --show-version
script:
# add our bin folder to the PATH so our fake ping will be picked up when running under Travis CI
# Inspiration: https://github.com/nono/cozy-desktop/commit/26ab9df277d1cbf781e9e476d022988ab0113154
- export PATH="bin:$PATH"
# We can't add '--offline' below because the dependency plugin misses some of the dependencies
- mvn clean verify --batch-mode
# https://docs.travis-ci.com/user/migrating-from-legacy/
sudo: false
jdk:
- openjdk6