Commit 2a34250e authored by dgelessus's avatar dgelessus
Browse files

Switch from Travis CI to GitLab CI

parent cf9bcf56
Pipeline #64620 failed with stages
in 8 seconds
build:
stage: build
image: openjdk:8-jdk-slim
before_script:
- sudo rm -f /etc/mavenrc
- wget http://www.us.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
- tar -zxvf apache-maven-3.0.5-bin.tar.gz
- export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=192m"
- export M2_HOME=$PWD/apache-maven-3.0.5
- export PATH=$M2_HOME/bin:$PATH
- mvn --version
script:
- ./gradlew createPoms
- ./gradlew downloadCli
- ./gradlew collectDependencies
- mvn -f de.prob.parent/pom.xml install
- ./gradlew collectArtifacts
artifacts:
paths:
- updatesite
deploy:
stage: deploy
only:
- develop@general/stups/prob_rodin_plugin
image: $CI_REGISTRY/stups/prob/prob-docker/internal/deployment:0.5
variables:
DEPLOY_REMOTEDIR: "stupshome/stups/rodin/prob1/nightly"
script:
- travis-custom-deploy sftp updatesite/
language: java
sudo: true
before_install:
- sudo rm -f /etc/mavenrc
- wget http://www.us.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
- tar -zxvf apache-maven-3.0.5-bin.tar.gz
- export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=192m"
- export M2_HOME=$PWD/apache-maven-3.0.5
- export PATH=$M2_HOME/bin:$PATH
- mvn --version
- rvm install 2.4.1
- gem install travis-custom-deploy
script:
- ./gradlew createPoms
- ./gradlew downloadCli
- ./gradlew collectDependencies
- mvn -f de.prob.parent/pom.xml install
- ./gradlew collectArtifacts
branches:
only:
- develop
jdk:
- openjdk8
after_success:
- travis-custom-deploy sftp updatesite/
env:
global:
- secure: EBtNmeY6KPX+MMmEwd4+GJWkWJ4mQ4R+yV0O0Uu4/9QoO/6InUEMbeRJt3xYQ9ewjKMNPLY85EknZxBUWvJURyOicmuP1gbHYEfYjIYbbZrAE+82NDtbhe6eUjlAIpms/q7WZ78IEvghUeO6mnsPiJ0hmm0tVlQz5khHsm10wGs=
- secure: JPHuiS+3J/AyEFr0v6MlS3MamX1Ebo7NcoDOBEfhyjfTErDnyvvbeoxPb0Fm+12fL+b6lxDi9pV8R+Z2x65vxXk2n3wcChklpBrno+VVSKBrkswy+YxAMUKkG4ssei2smA846NyeyTipPqhtbTHkV5q5mabxPzoE4x19uOfwRX0=
- secure: M6zqQ6zwRadCAkaLcyADPGFx3BgAKWHS41X0O8RcqKA+kbRG5MshN3HcMy847p2elS4kaCm3X2uo/9SuoXpR/nWIRaM980QcyUJh1gdJBpIA7uOOtpT8XbFZVxnlMvhI0uFzLIlA8sRLzZOcCFzEiHctuO9iZxEyXxbs/SvqV5M=
- secure: UeQaG2wcFEPt9DxHcGIZkrshfvPZ/7AdJcX/3B4juHATNr5arJf227uOdRRRAoyCouFDuPa2HMLsfIWPQOSCwAuCL+jvM8ebQ0snc/lHnG6VvTu9m549bMfQO6Nw4NGYCbSsfn2XMppi6OZ5s5jck8SubELgTSZxtWGiJ/IJTrU=
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment