-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (30 loc) · 1.19 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
language: java
sudo: required
dist: trusty
jdk:
- oraclejdk8
before_install:
# Get Commandbox
- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list
install:
# Install Commandbox
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
# Check it's working
- box version
# Install CLI: needed to repackage the plugin to a zip on install
- box install cfwheels-cli
# Install Master Branch; nb, installed into folder of the git repo name, i.e neokoenig/cfwheels-ical4j
- box install cfwheels/cfwheels
# Install the Plugin: use gitHub path to get the absolute latest
- box install neokoenig/cfwheels-jwt
before_script:
# Master branch has a bunch of server.jsons we can use: lucee4 | lucee5 | cf10 | cf11 | cf2016
- box server start lucee5
# Type should be the name of the plugin | servername should reflect the server we've just started
script: >
testResults="$(box wheels test type=jwt servername=lucee5)";
echo "$testResults";
if ! grep -i "\Tests Complete: All Good!" <<< $testResults; then exit 1; fi
notifications:
email: true