From 290836509dffd90ffc0b0631ddbaac39f1183f89 Mon Sep 17 00:00:00 2001 From: sheinz Date: Sun, 30 Oct 2016 20:22:27 +0200 Subject: [PATCH] First draft of Travis running tests --- .travis.yml | 8 ++++++ utils/travis_tests/deploy_rsa.enc | Bin 0 -> 3248 bytes utils/travis_tests/run_tests.sh | 42 ++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 utils/travis_tests/deploy_rsa.enc create mode 100755 utils/travis_tests/run_tests.sh diff --git a/.travis.yml b/.travis.yml index 4bd0884..41ccf57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ cache: directories: - ${CROSS_ROOT} addons: + ssh_known_hosts: 195.138.84.66 apt: packages: - make @@ -35,6 +36,11 @@ addons: - vim-common before_install: + - openssl aes-256-cbc -K $encrypted_3de02a3a9dd1_key -iv $encrypted_3de02a3a9dd1_iv + -in utils/travis_tests/deploy_rsa.enc -out /tmp/deploy_rsa -d + - eval "$(ssh-agent -s)" + - chmod 600 /tmp/deploy_rsa + - ssh-add /tmp/deploy_rsa - travis_wait 30 utils/travis_build/install_toolchain.sh script: @@ -45,3 +51,5 @@ script: - ( ${MAKE_CMD} ) || ( ${MAKE_CMD} V=1 ) # build bootloader - make -C bootloader/ + # run tests + - ./utils/travis_tests/run_tests.sh diff --git a/utils/travis_tests/deploy_rsa.enc b/utils/travis_tests/deploy_rsa.enc new file mode 100644 index 0000000000000000000000000000000000000000..4e2a16e568397aab10daf8b4e96f23a7c6884ab1 GIT binary patch literal 3248 zcmV;h3{Ugd7ROfpeNMNLKcoDF>^rlm9JO+X3 zqNQ<%Q_#vL0f70ey$Gi`6M~L1cU-%gLe}PwPCw)7!l2xzPb_la{#L*U#8Y$vKh8hO zm7%#S;fwJpmXCU#A+k~P#(Elkae3f1o6PkYF%|s^F-CxJ_g=WeM(kTs>V#n7jgX!&OgbVvj1*^2319T4% zVHi1kRE-kKpA8b04ft|!1LKNH!dMx51DUKLo`gTPJpIRxpIH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