Skip to content
This repository has been archived by the owner on Aug 3, 2018. It is now read-only.

Latest commit

 

History

History
35 lines (27 loc) · 828 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 828 Bytes

Travis CI

Get encrypted credentials

Follow instruction from this article and setup encrypted credentials for Travis so it can push to your GitHub repo.

Example Travis CI file

language: java
jdk:
  - oraclejdk8

branches:
  only:
    - /^ready\/.*$/

env:
  global:
  - ENCRYPTION_LABEL: "12c8071d2834"
  - COMMIT_AUTHOR_NAME: "Praqma"
  - COMMIT_AUTHOR_EMAIL: "no-reply@praqma.com"
  - TARGET_BRANCH: "master"
  - TARGET_REPO: "git@github.com:Praqma/jobdsl-helpers.git"

before_script:
  - mkdir ci
  - wget --directory-prefix=ci https://github.com/Praqma/pretested-integration/archive/master.zip
  - unzip ci/*.zip -d /ci

script:
  - bash -ex ci/travis/before.sh
  - echo "test test test!"
  - bash -ex ci/travis/after.sh