Skip to content

Commit

Permalink
Merge branch 'master' into checkstyle_parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
yichen88 committed Oct 30, 2017
2 parents 1ffb2aa + d8a4817 commit 16812a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ language: java
jdk:
- oraclejdk8

before_install:
- openssl aes-256-cbc -K $encrypted_973a780dd4ea_key -iv $encrypted_973a780dd4ea_iv -in id_rsa_gandi.enc -out /tmp/id_rsa_gandi -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/id_rsa_gandi
- ssh-add /tmp/id_rsa_gandi

install:
# Build iPST core
- git clone https://github.com/powsybl/powsybl-core powsybl/powsybl-core
Expand All @@ -11,3 +17,13 @@ install:
script:
- cd ${TRAVIS_BUILD_DIR}
- mvn clean test jacoco:report coveralls:report

addons:
ssh_known_hosts: sftp.dc0.gpaas.net
apt:
packages:
- graphviz
after_success:
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && mvn javadoc:javadoc && pushd $TRAVIS_BUILD_DIR/target/site/apidocs && zip -r /tmp/ipst-javadoc.zip . && sftp $JAVADOC_USER@sftp.dc0.gpaas.net:vhosts/www.itesla-pst.org/htdocs/javadoc <<< $'put /tmp/ipst-javadoc.zip' && popd
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && cd $TRAVIS_BUILD_DIR/powsybl/powsybl-core && mvn javadoc:javadoc && cd target/site/apidocs && zip -r /tmp/powsybl-core-javadoc.zip . && sftp $JAVADOC_USER@sftp.dc0.gpaas.net:vhosts/www.itesla-pst.org/htdocs/javadoc <<< $'put /tmp/powsybl-core-javadoc.zip'

Binary file added id_rsa_gandi.enc
Binary file not shown.

0 comments on commit 16812a0

Please sign in to comment.