This repository has been archived by the owner on Sep 2, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
build(csr): Set up commandbox-semantic-release
- Loading branch information
Showing
1 changed file
with
25 additions
and
24 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,27 +1,28 @@ | ||
language: java | ||
sudo: required | ||
jdk: | ||
- oraclejdk8 | ||
cache: | ||
directories: | ||
- $HOME/.CommandBox | ||
env: | ||
matrix: | ||
- ENGINE=lucee@5 | ||
- ENGINE=lucee@4.5 | ||
- ENGINE=adobe@2018 | ||
- ENGINE=adobe@2016 | ||
- ENGINE=adobe@11 | ||
- ENGINE=adobe@10 | ||
before_install: | ||
- curl -fsSl https://downloads.ortussolutions.com/debs/gpg | sudo apt-key add - | ||
- 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 | ||
before_script: | ||
- box server start cfengine=$ENGINE port=8500 | ||
script: | ||
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm' | ||
notifications: | ||
jdk: | ||
- oraclejdk8 | ||
env: | ||
matrix: | ||
- ENGINE=lucee@5 | ||
- ENGINE=lucee@4.5 | ||
- ENGINE=adobe@2018 | ||
- ENGINE=adobe@2016 | ||
- ENGINE=adobe@11 | ||
- ENGINE=adobe@10 | ||
before_install: | ||
- curl -fsSl https://downloads.ortussolutions.com/debs/gpg | sudo apt-key add - | ||
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list | ||
install: | ||
- sudo apt update && sudo apt --assume-yes install commandbox | ||
- box install | ||
before_script: | ||
- box server start cfengine=$ENGINE port=8500 | ||
script: | ||
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm' | ||
after_success: | ||
- box install commandbox-semantic-release | ||
- box config set endpoints.forgebox.APIToken=${FORGEBOX_TOKEN} | ||
- box semantic-release | ||
notifications: | ||
email: false |