Skip to content

Commit d9a0411

Browse files
committed
chore(ci): Add commandbox-semantic-release
Also adds automated testing for supported engines.
1 parent ba8f1d3 commit d9a0411

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: java
2+
sudo: required
3+
jdk:
4+
- oraclejdk8
5+
cache:
6+
directories:
7+
- "$HOME/.CommandBox/artifacts/"
8+
- "$HOME/.CommandBox/server/"
9+
env:
10+
matrix:
11+
- ENGINE=adobe@2018
12+
- ENGINE=adobe@2016
13+
- ENGINE=adobe@11
14+
- ENGINE=lucee@5
15+
before_install:
16+
- curl -fsSl https://downloads.ortussolutions.com/debs/gpg | sudo apt-key add -
17+
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list
18+
install:
19+
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
20+
- box install
21+
before_script:
22+
- box server start cfengine=$ENGINE port=8500
23+
script:
24+
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm'
25+
after_success:
26+
- box install commandbox-semantic-release
27+
- box config set endpoints.forgebox.APIToken=${FORGEBOX_TOKEN}
28+
- box semantic-release
29+
notifications:
30+
email: false

0 commit comments

Comments
 (0)