forked from coldbox-modules/quick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 1.01 KB
/
.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
31
32
33
34
35
language: java
sudo: required
services:
- mysql
jdk:
- oraclejdk8
cache:
directories:
- "$HOME/.CommandBox/artifacts/"
- "$HOME/.CommandBox/server/"
env:
matrix:
- ENGINE=adobe@2018
- ENGINE=adobe@2016
- ENGINE=adobe@11
- 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
- mysql -e 'CREATE DATABASE quick;'
install:
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
- box install commandbox-cfconfig
- box install
before_script:
- box server start cfengine=$ENGINE port=8500 debug=true
script:
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm' verbose=true reporter=text
after_success:
- box install commandbox-semantic-release
- box config set endpoints.forgebox.APIToken=${FORGEBOX_TOKEN}
- box semantic-release
notifications:
email: false