forked from Willena/sqlite-jdbc-crypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
54 lines (47 loc) · 1.01 KB
/
.travis.yml
File metadata and controls
54 lines (47 loc) · 1.01 KB
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
48
49
50
51
52
53
54
sudo: required
os: linux
dist: trusty
services:
- docker
language: java
matrix:
include:
- stage : Build
jdk: openjdk7
if: tag IS present
script:
- bash ./scripts/travis-deploy.sh
-
jdk: oraclejdk8
if: tag IS present
script:
- bash ./scripts/travis-deploy.sh
- stage : Update
if: tag IS NOT present
script:
- bash ./scripts/keepSync.sh
before_install:
- sudo apt-get update
- sudo apt-get install -y xmlstarlet
before_deploy:
- echo "Now deploying things !"
- git config --local user.name "Villena Guillaume"
- git config --local user.email "guiguivil@gmail.com"
- source VERSION
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
deploy:
provider: releases
api_key: $GH_TOKEN
overwrite: true
file_glob: true
file: /home/travis/build/Willena/sqlite-jdbc-crypt/target/sqlite-jdbc-$version.jar
skip_cleanup: true
name: SQLite-jdbc-$version
on:
tags: true