Skip to content

Commit

Permalink
chore(build): Update Travis CI release process
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Nov 22, 2017
1 parent 87347c7 commit e743833
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .travis.yml
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

0 comments on commit e743833

Please sign in to comment.