Skip to content

Commit ee82887

Browse files
committed
deployment with travis
1 parent a3df9a1 commit ee82887

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@ scala:
33
- 2.11.8
44

55
sudo: required
6-
# https://github.com/travis-ci/travis-ci/issues/6928#issuecomment-264227708
7-
group: deprecated
8-
dist: trusty
96
jdk:
107
- oraclejdk8
118

129
services:
1310
- docker
1411

1512
before_install:
16-
# https://github.com/travis-ci/travis-ci/issues/6928#issuecomment-264227708
17-
- jdk_switcher use oraclejdk8
1813
- ./docker/provision.sh
1914

15+
# for deploy
16+
before_deploy: ./dist-cli.sh
17+
deploy:
18+
provider: releases
19+
api_key: ${GH_TOKEN}
20+
skip_cleanup: true
21+
file: ./.dist-work/zabbicook-$TRAVIS_TAG.zip
22+
on:
23+
tags: true

0 commit comments

Comments
 (0)