diff --git a/.ci/travis_script.sh b/.ci/travis_script.sh index 8525f79..6ac22a9 100755 --- a/.ci/travis_script.sh +++ b/.ci/travis_script.sh @@ -14,6 +14,7 @@ elif [[ ${PLANETMINT_CI_ABCI} == 'enable' ]]; then elif [[ ${PLANETMINT_ACCEPTANCE_TEST} == 'enable' ]]; then ./run-acceptance-test.sh elif [[ ${PLANETMINT_INTEGRATION_TEST} == 'enable' ]]; then + chmod 600 id_ed25519 ./run-integration-test.sh ./scripts/test.sh else diff --git a/scripts/test.sh b/scripts/test.sh index 0d78298..9888650 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -4,9 +4,5 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -result=$(ssh root@64.225.106.52 -i id_ed25519 'bash -s' < ./election.sh elect 35) -ssh root@64.225.105.60 -i id_ed25519 'bash -s' < ./election.sh approve $result - -exitcode=$? - -exit exitcode \ No newline at end of file +result=$(ssh -o StrictHostKeyChecking=accept-new root@64.225.106.52 -i id_ed25519 'bash -s' < scripts/election.sh elect 35) +ssh -o StrictHostKeyChecking=accept-new root@64.225.105.60 -i id_ed25519 'bash -s' < scripts/election.sh approve $result \ No newline at end of file