diff --git a/.travis.yml b/.travis.yml index c1cab64f..91fdcbe6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,25 @@ language: java sudo: required jdk: -- oraclejdk8 + - oraclejdk8 cache: directories: - $HOME/.CommandBox env: matrix: - - ENGINE=lucee@4.5 - - ENGINE=lucee@5 - ENGINE=adobe@2016 - ENGINE=adobe@11 + - ENGINE=lucee@5 + - ENGINE=lucee@4.5 before_install: -- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622 -- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a - /etc/apt/sources.list.d/commandbox.list + - sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622 + - sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list install: -- sudo apt-get update && sudo apt-get --assume-yes install commandbox -- box install + - sudo apt-get update && sudo apt-get --assume-yes install commandbox + - box install before_script: -- box server start cfengine=$ENGINE port=7777 -script: > - testResults="$(box testbox run runner='http://127.0.0.1:7777/tests/runner.cfm' )"; - echo "$testResults"; - if grep -i "\[(Failures|Errors): [1-9][0-9]\?[0-9]\?\]\|\[Errors: [1-9][0-9]\?[0-9]\?\]\|]*>\|]*>" <<< $testResults; then exit 1; fi + - box server start cfengine=$ENGINE port=8500 +script: + - box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm' notifications: - email: false \ No newline at end of file + email: false