-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
47 lines (38 loc) · 881 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dist: trusty
language: java
jdk:
- openjdk8
sudo: required
services:
- docker
## Run integration tests
script:
- mvn frontend:install-node-and-npm@install-node-and-npm
- mvn frontend:npm@npm-install
- mvn frontend:npm@npm-run-build
- mvn antrun:run@copy
- mvn verify
- mvn compile jacoco:report
- mvn docker:build
- mvn rpm:rpm
before_install:
- sudo apt-get install -y rpm
after_success:
- bash <(curl -s https://codecov.io/bash)
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push mgramin/sql-boot
before_deploy:
- export TRAVIS_TAG=v0.5.1
- git tag $TRAVIS_TAG --force
deploy:
provider: releases
branch: master
api_key: $GITHUB_TOKEN
file:
- target/sql-boot.zip
- target/rpm/sql-boot/RPMS/noarch/sql-boot-0.5.1-1.noarch.rpm
skip_cleanup: true
name: v0.5.1
overwrite: true
on:
tags: false