This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # .travis.yml
- Loading branch information
Showing
2 changed files
with
38 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,39 +38,40 @@ env: | |
- DOCKER_IMAGES="centos:centos6 centos:centos7 debian:wheezy debian:jessie ubuntu:trusty opensuse:latest base/arch:latest" | ||
matrix: | ||
- ENV_TEST_FILE="openjdk-12_jdk" | ||
# - ENV_TEST_FILE="openjdk-11_jdk" | ||
# - ENV_TEST_FILE="openjdk-10_jdk" | ||
# - ENV_TEST_FILE="openjdk-8_jdk" | ||
# - ENV_TEST_FILE="oracle-11_jdk" | ||
# - ENV_TEST_FILE="oracle-10_jdk" | ||
# - ENV_TEST_FILE="oracle-9_jdk" | ||
# - ENV_TEST_FILE="oracle-9.0.1_jdk" | ||
# - ENV_TEST_FILE="oracle-8_jdk" | ||
# - ENV_TEST_FILE="oracle-8u171_jdk" | ||
# - ENV_TEST_FILE="oracle-1.8.0_171_jdk" | ||
# - ENV_TEST_FILE="oracle-1.8.0_171-b11_jdk" | ||
# - ENV_TEST_FILE="oracle-8u144_jdk" | ||
- ENV_TEST_FILE="openjdk-11_jdk" | ||
- ENV_TEST_FILE="openjdk-10_jdk" | ||
- ENV_TEST_FILE="openjdk-8_jdk" | ||
- ENV_TEST_FILE="oracle-11_jdk" | ||
- ENV_TEST_FILE="oracle-10_jdk" | ||
- ENV_TEST_FILE="oracle-9_jdk" | ||
- ENV_TEST_FILE="oracle-9.0.1_jdk" | ||
- ENV_TEST_FILE="oracle-8_jdk" | ||
- ENV_TEST_FILE="oracle-8u171_jdk" | ||
- ENV_TEST_FILE="oracle-1.8.0_171_jdk" | ||
- ENV_TEST_FILE="oracle-1.8.0_171-b11_jdk" | ||
- ENV_TEST_FILE="oracle-8u144_jdk" | ||
|
||
jobs: | ||
include: | ||
- stage: before_deploy | ||
env: | ||
- DOCKER_IMAGES="" ENV_TEST_FILE="oracle-" | ||
- RELEASE_NUMBER=`date +%Y%m%d_%H%M%S` | ||
script: | ||
- ./src/main/bash/builder.bash && cp ./build/jvmw ./ || travis_terminate 1 | ||
- git config --local user.name "Victor Alenkov" | ||
- git config --local user.email "[email protected]" | ||
- git commit -a -m "Release $RELEASE_NUMBER" | ||
- git tag "$RELEASE_NUMBER" | ||
- git remote add deploy "https://[email protected]/$TRAVIS_REPO_SLUG.git" | ||
- git push deploy --tags &>/dev/null | ||
|
||
- stage: deploy | ||
skip_cleanup: true | ||
provider: releases | ||
api_key: "$GITHUB_TOKEN" | ||
overwrite: true | ||
files: ./jvmw | ||
env: | ||
- DOCKER_IMAGES="" ENV_TEST_FILE="oracle-" | ||
#jobs: | ||
# include: | ||
# - stage: before_deploy | ||
# env: | ||
# - DOCKER_IMAGES="" ENV_TEST_FILE="oracle-" | ||
# - RELEASE_NUMBER=`date +%Y%m%d_%H%M%S` | ||
# script: | ||
# - git config --global user.name "TravisCI" | ||
# - git config --global user.email "[email protected]" | ||
# - git remote add deploy "https://TravisCI:[email protected]/$TRAVIS_REPO_SLUG.git" | ||
# - ./src/main/bash/builder.bash && cp ./build/jvmw ./ | ||
# - git commit -a -m "Release $RELEASE_NUMBER" | ||
# - git tag "$RELEASE_NUMBER" | ||
# | ||
# - stage: deploy | ||
# skip_cleanup: true | ||
# provider: releases | ||
# api_key: "$GITHUB_TOKEN" | ||
# files: | ||
# - "jvmw" | ||
# on: | ||
# tags: true | ||
# env: | ||
# - DOCKER_IMAGES="" ENV_TEST_FILE="oracle-" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters