Skip to content

Commit

Permalink
Merge pull request #76 from sdtabilit/feature/SLTS-80-Increase-safety…
Browse files Browse the repository at this point in the history
…-test-server

SLTS-80 Increase safety test server
  • Loading branch information
grzesiekb authored Nov 25, 2016
2 parents 7f07b00 + 09656da commit 09bc432
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addons:
ssh_known_hosts: 149.56.44.225
ssh_known_hosts: $TEST_IP
before_install:
#- sudo add-apt-repository ppa:openjdk-r/ppa -y
#- sudo apt-get update
Expand All @@ -12,21 +12,7 @@ before_install:
- sudo apt-get install tomcat7
- sudo apt-get install traceroute
- sudo apt-get install sshpass
#- wget https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x64.tar.xz
#- mkdir node
#- mkdir node/etc
#- echo 'prefix=/usr/local' > node/etc/npmrc
#- tar xvf node-v*.tar.?z --strip-components=1 -C ./node
#- sudo mv node /opt/
#- export PATH=/opt/node/bin:$PATH
#- sudo apt-get install -y build-essential
#- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
#- sudo apt-get install -y nodejs
#- wget -qO- https://deb.nodesource.com/setup_6.x | sudo bash -
#- sudo apt-get install nodejs
#- sudo apt-get install npm
before_script:
#- export PATH=/opt/node:/opt/node/bin:$PATH
- nvm ls
- nvm install node
- nvm use node
Expand Down Expand Up @@ -62,11 +48,10 @@ env:
matrix:
- CATALINA_HOME=/usr/share/tomcat7
global:
- secure: mRa7Eq70zFEeWboEaUJNkFUK/3ufFANJAWe9K515qB5AoDLsVe0dwfqpCjqWOKq1fbbO8lA1MaISC7VgDyiVbfvYIiENh+Bav/yqjEF5ED3Qcm5fgZvkIaybAUe5yCVBFrrBjQwF5x0Ocq0SAqSoU0Bs8/24QPoR22QTBVS0NV5lzyEKVu9p40QRq3Aavpq2o0xoVz8Dx9o88nOgdcTCjT3GBuZip+8eMrOcFEbKyicLQ73nlk1v4cEB1MTv/qt1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Ct6s3KesKsQeJJHmfaItxylsQyi072PeDPmVuZDgDSx3C31NCYI=
- secure: NODnAmr6f++eRo73jznLJphwd58Kva9nXn45/7pmDddVi8akif3tCHDotx1acPwrIiwZDn1WBY7xHAYhuB+vHBep0I0AhHRDKP6q6VuDccK8lMKN11AC0pjXDbJCJOEO6CpRL2TvP/UyOhrmuvihnPqcBU2DX4VLN3cGpW+Jwn38Mk5qhw2RuJV6RFT1+/5XQNvYI3Jyp5jCPwlaCbgV2QKVtVs7NZHrj9U0qfdSsrhxp/3qUh2RrXIYZjVG4KggRWnMQ33BUSVNyDLcrKo++Q0IX5ZRP04j5b9NLvIl2otytEdyBYAa5oQYQMS5X31T9T0RDzVFYRu04HVaOXpfdlg9JdDFWQkVgY+d8ph/ZAX1h39eh3xjmMrUIFvAyQ1Kgawxdy99bYyaEefwDoZLC/O4KNjw84D0oBqTktFg75WsgfqJiUSWbryLnqG389pWGZjykiyfxXQgWF2cpqg76PuZY1gWI0jWBBS0GmrK3DONui3WU/QNcpuJTTOFlC18PC13l3+7mUNSz53BhpJg1Gwk8nUhhSnfin5kafjpUBz6mFGhiGoB46jC//kyAZJ+c+j5k8UKst65EgVp6fbu+JN1QpcDZL9l5r/1UnEQzncMraAGRAUvJL2tMkQmS5gbGwixzcrOdWa61BVs8bWe7eV1twOr2fBUNqHjH32SZYo=
after_script:
- echo $TRAVIS_BUILD_DIR
- eval "$(ssh-agent -s)"
- traceroute -p 22 149.56.44.225
- sshpass -e scp ./ScadaBR.war [email protected]:/root/ScadaBR.war
- sshpass -e scp ./ScadaLTS-UI/war/ScadaLTS.war [email protected]:/root/ScadaLTS.war
- sshpass -e scp ./ScadaBR.war test@$TEST_IP:/home/test/ScadaBR.war
- sshpass -e scp ./ScadaLTS-UI/war/ScadaLTS.war test@$TEST_IP:/home/test/ScadaLTS.war

0 comments on commit 09bc432

Please sign in to comment.