-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (45 loc) · 4.53 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: java
jdk:
- oraclejdk8
sudo: false
branches:
only:
- master
- snapshot
#script:
#- "./gradlew clean check"
#- ./gradlew jacocoTestReport
#- test "${TRAVIS_PULL_REQUEST}" != "false" || test "${TRAVIS_BRANCH}" != "master" || git checkout master;git remote set-url origin "https://[email protected]/dustinliu/argparse4k"
#- test "${TRAVIS_PULL_REQUEST}" != "false" || test "${TRAVIS_BRANCH}" != "master" || ./gradlew release
stages:
- test
- name: deploy
if: branch = master
- codecov
jobs:
include:
- stage: test
script: ./gradlew clean check
- stage: deploy
script:
- git checkout master && git remote set-url origin "https://[email protected]/dustinliu/argparse4k"
- ./gradlew build release
- stage: codecov
script:
- ./gradlew check jacocoTestReport
- bash <(curl -s https://codecov.io/bash)
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
bundler: true
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
env:
global:
- secure: jYVATlriDh0eeU0eVrjyk9lf/DV2pxxKOw0fWZZZG8OivkZVaMfP44/BioKi8UKqjDz4UnNuJYJUFEYsEGTewCMv5xTQxzwnZbEVG4w4hIyuGEGxPp8vKDz2JrOAEWWyHHT2trTVeTJBiJIid0bVYqsMT3eNKkRHEWCq+ZIGn5sc2Oc3t2YYRQL3ZYv0Ctm+DFsY6f5O0F9l7Zpqb3UqEq6Xqnwv7J9rKw8E7mDc8/Akey20DUTowDdb/quTBwwk3irJ6VOf16i+K98/cpMsA3rD7DMAnnHUl9tJAj8F8Z2ZzwMIXRgkHxIQ58f/rzAsq32ttrHR9tD0xVysHUqGTJN4cOgkNVY1Y6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