branches:
  only:
    - master
language: java
sudo: false
jdk: oraclejdk8
install: true
script:
  - git config --local user.name "Hiromu Hota"
  - git config --local user.email "hiromu.hota@hal.hitachi.com"
  - export TRAVIS_TAG=nightly
  - git tag $TRAVIS_TAG --force
  - git push -f https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $TRAVIS_TAG

branches:
  only:
    - master
language: java
jdk: openjdk8
install: true
script:
  - git config --local user.name "Hiromu Hota"
  - git config --local user.email "hiromu.hota@hal.hitachi.com"
  - export TRAVIS_TAG=nightly
  - git tag $TRAVIS_TAG --force
  - git push -f https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $TRAVIS_TAG

Use openjdk8 instead of oraclejdk8 and remove sudo: false
 Use openjdk8 instead of oraclejdk8 and remove sudo: false
