language: java
install:
- |
sudo: false
script: mvn clean verify
before_deploy: cp /home/travis/build/ivy-supplements/mavenizer/README.md /home/travis/build/ivy-supplements/mavenizer/designer.project.maven.p2/target/repository/README.md
deploy:
  provider: releases
  file_glob: true
  file: /home/travis/build/ivy-supplements/mavenizer/designer.project.maven.p2/target/repository/**/*
  skip_cleanup: true
  api_key: $GITHUB_TOKEN # Set in travis-ci.org dashboard
  on:
    tags: true

language: java
install:
- |
sudo: false
script: mvn clean verify
before_deploy: cp /home/travis/build/ivy-supplements/mavenizer/README.md /home/travis/build/ivy-supplements/mavenizer/designer.project.maven.p2/target/repository/README.md
deploy:
  provider: pages
  local_dir: /home/travis/build/ivy-supplements/mavenizer/designer.project.maven.p2/target/repository
  skip_cleanup: true
  github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
  on:
    branch: master

Revert "* Move p2 repo from GITHUB ghpages to releases"
Revert "* Move p2 repo from GITHUB ghpages to releases"

This reverts commit 074b8a199f6042d124924f9de5a08387465ecdfa.
