forked from cucumber/cucumber-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 988 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
if: NOT tag =~ /^.*-.*$/ # Do not build prerelease tag
language: java
sudo: false
cache:
directories:
- "$HOME/.m2"
jdk:
- openjdk8
jobs:
include:
- stage: Tests
script: xvfb-run --server-args="-screen 0 1024x768x24" mvn clean integration-test -B
- stage: Deploy [pre]release on GitHub
script: mvn clean verify -B -DskipTests
before_deploy:
- source ./continuous-deployment/prepare-deploy
deploy:
- provider: releases
name: $TITLE
body: "$DESCRIPTION"
prerelease: $IS_SNAPSHOT
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: cucumber.eclipse.p2updatesite/target/*.zip
skip_cleanup: true
overwrite: $IS_SNAPSHOT
on:
branch: master
- provider: pages
repo: $GITHUB_PAGES_REPO
skip-cleanup: true
github-token: $GITHUB_OAUTH_TOKEN
local-dir: cucumber.eclipse.p2updatesite/target/repository/
on:
branch: master