Skip to content

Commit 39e9ebd

Browse files
committed
chore(release): Enable semantic release
1 parent 6eb0087 commit 39e9ebd

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.travis.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
language: java
22
sudo: required
33
jdk:
4-
- oraclejdk8
4+
- oraclejdk8
55
cache:
66
directories:
7-
- $HOME/.CommandBox
7+
- "$HOME/.CommandBox"
88
env:
99
matrix:
10-
- ENGINE=lucee@4.5
11-
- ENGINE=lucee@5
12-
- ENGINE=adobe@2016
13-
- ENGINE=adobe@11
10+
- ENGINE=adobe@2016
11+
- ENGINE=adobe@11
12+
- ENGINE=lucee@5
13+
- ENGINE=lucee@4.5
14+
global:
15+
secure: ytBE5/0yTki2SDLwIwVtLmheTxzKKe5hX4dl3/dqK9/W4BfFvyFfUMQgL9729tXXSKpANguyDDAEfhtHiO72HSyggOg9Ys5nsV/N42UzgOKpefKWyEQDJ2b6vZt/bbQ7CvpgXsvz72YrBKoHdrgGbdO46iLEkSdRsAXOyOre84ie68vT66yDpsrgWe21B23y8hUyG0jud3Vb9yg1VFEzdlgj08thHvxpmcnuLyBwiCZ36SBmJZImXpR78o/WT/1c8AJW2+wqwg3FzYkT+Gp8Ncckv3Z4nPsxAePZiLm9O7QLEwrK0OJzYtyR+MSW3aJPP5KMLA8pFi73LyJv5tvGDy2ftgiAS88FTO3MXgwbomiRAnvpLDRYo7CV0cKW05Y5xYQ4ro5nhV98SwNhsMWd+juYd4+d64/VUdC3mt+VoQU5AZSpQ3vf/1dCFO4PKM25n1qT773M1hzyQNO0wXTn07AJ0+W2PE3dcOO/ZUiAbmF943Fs1e/pjnfVrAEPJl17M63csvlrFo2CDiNbKeMZDcv5oVA0logv6eo+k/D/WVMyZ1LYFkx8xPW3B6LaolxMhiLAjgvOgAu6tOB7cOOwjS8kgejUlKd5H39CsZzbNiq4+gDo0e8lxufRCWv6cl6f8UPNQN8SWHc/ruBsIrAJIW30n2+wjot3EhEp26Nwri0=
1416
before_install:
15-
- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
16-
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list
17+
- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
18+
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a
19+
/etc/apt/sources.list.d/commandbox.list
1720
install:
18-
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
19-
- box install
21+
- sudo apt-get update && sudo apt-get --assume-yes install commandbox
22+
- box install
2023
before_script:
21-
- box server start cfengine=$ENGINE port=8500
24+
- box server start cfengine=$ENGINE port=8500
2225
script:
23-
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm'
26+
- box testbox run runner='http://127.0.0.1:8500/tests/runner.cfm'
27+
after_success:
28+
- box install commandbox-semantic-release
29+
- box config set endpoints.forgebox.APIToken=${FORGEBOX_TOKEN}
30+
- box semantic-release
2431
notifications:
2532
email: false

box.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"hyper",
3-
"version":"0.0.0",
3+
"version":"0.0.0-semantic-released",
44
"author":"",
55
"location":"elpete/hyper#v0.0.0",
66
"homepage":"https://github.com/elpete/hyper",
@@ -24,9 +24,7 @@
2424
"coldbox":"tests/resources/app/coldbox"
2525
},
2626
"scripts":{
27-
"postVersion":"package set location='elpete/hyper#v`package version`'",
28-
"onRelease":"publish",
29-
"postPublish":"!git push && !git push --tags"
27+
"postVersion":"package set location='elpete/hyper#v`package version`'"
3028
},
3129
"ignore":[
3230
"**/.*",

0 commit comments

Comments
 (0)