Skip to content

Commit

Permalink
Travis: switching build OS to Ubuntu Linux (trusty)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-lizner committed Jun 28, 2019
1 parent 011e10e commit 5dda5bf
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
@@ -1,5 +1,6 @@
os: windows
language: shell
sudo: required
dist: trusty
language: java

#skips default install - see script bellow
install: true
Expand All @@ -9,18 +10,22 @@ cache:
- $HOME/.m2

before_install:
- choco install maven
- RefreshEnv.cmd
- export MAVEN_OPTS='-Xmx6g'
- export JAVA_HOME=`find "/c/Program Files/Java" -name jdk1.8.*`
- wget https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.zip
- unzip -qq apache-maven-3.6.1-bin.zip
- export M2_HOME=$PWD/apache-maven-3.6.1
- export PATH=$M2_HOME/bin:$PATH
- export MAVEN_OPTS='-Xmx6g'

# custom script is used so build and tests are done in one mvn command, separating it (as Travis does by default) leads to problem with ConnId (notably DummyResource)
script: mvn clean install

addons:
hostname: localhost # workaround for short hostname

env:
global:
- MALLOC_ARENA_MAX=2

matrix:
include:
- name: JDK8 - Run all excluding model-intest
Expand Down

0 comments on commit 5dda5bf

Please sign in to comment.