Skip to content
This repository was archived by the owner on Sep 2, 2020. It is now read-only.

Commit c4f6077

Browse files
committed
build(csr): Set up commandbox-semantic-release
1 parent 0a7f7e0 commit c4f6077

1 file changed

Lines changed: 25 additions & 24 deletions

File tree

.travis.yml

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

0 commit comments

Comments
 (0)