Skip to content

Commit

Permalink
Merge pull request #27 from marcphilipp/fixes/travis-build
Browse files Browse the repository at this point in the history
Partially fix Travis build
  • Loading branch information
kalidasya authored Mar 20, 2018
2 parents 147babc + 0dbd288 commit 4c84368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ language: java
sudo: false

jdk:
- oraclejdk7
- oraclejdk8

install: true
script: ./travis.sh

env:
- TARGET=CI
- TARGET=IT SQ_VERSION=DEV
Expand Down
7 changes: 3 additions & 4 deletions travis.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

set -euo pipefail
set -euox pipefail

function installTravisTools {
mkdir ~/.local
curl -sSL https://github.com/SonarSource/travis-utils/tarball/v21 | tar zx --strip-components 1 -C ~/.local
mkdir -p ~/.local
curl -sSL https://github.com/SonarSource/travis-utils/tarball/v47 | tar zx --strip-components 1 -C ~/.local
source ~/.local/bin/install
}

Expand Down Expand Up @@ -33,4 +33,3 @@ IT)
;;

esac

0 comments on commit 4c84368

Please sign in to comment.