-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
30 lines (30 loc) · 955 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: java
sudo: required
jdk:
- openjdk8
cache:
directories:
- "$HOME/.CommandBox"
env:
matrix:
- ENGINE=adobe@2018
- ENGINE=adobe@2016
- ENGINE=lucee@5
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
- ln -s $PWD tests/resources/app/modules/cors
script:
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm'
after_success:
- rm -rf tests/resources/app/modules/cors
- box install commandbox-semantic-release
- box config set endpoints.forgebox.APIToken=${FORGEBOX_TOKEN}
- box semantic-release
notifications:
email: false