-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): Update Travis CI release process
- Loading branch information
Showing
1 changed file
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
language: java | ||
sudo: required | ||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk8 | ||
cache: | ||
directories: | ||
- $HOME/.CommandBox | ||
env: | ||
matrix: | ||
- [email protected] | ||
- ENGINE=lucee@5 | ||
- ENGINE=adobe@2016 | ||
- ENGINE=adobe@11 | ||
- ENGINE=lucee@5 | ||
- [email protected] | ||
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]\?\]\|<t[^>]*>\|<b[^>]*>" <<< $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 | ||
email: false |