Change CI scripts directory
@@ -60,21 +60,20 @@ install:
- export GOPATH=$HOME/gopath
- go version
-- git clone https://github.com/michal-narajowski/mynewt-travis-ci ci
-- chmod +x ci/*.sh
-- ci/${TRAVIS_OS_NAME}_travis_install.sh
+- git clone https://github.com/michal-narajowski/mynewt-travis-ci $HOME/ci
+- chmod +x $HOME/ci/*.sh
+- $HOME/ci/${TRAVIS_OS_NAME}_travis_install.sh
- newt version
- gcc --version
- arm-none-eabi-gcc --version
script:
-- cp -R ${TRAVIS_BUILD_DIR}/ci/mynewt-core-project.yml project.yml
+- cp -R $HOME/ci/mynewt-core-project.yml project.yml
- newt install
+- cp -R $HOME/ci/targets .
-- cp -R ${TRAVIS_BUILD_DIR}/ci/targets .
-
-- ${TRAVIS_BUILD_DIR}/ci/run_test.sh
+- $HOME/ci/run_test.sh
cache:
directories:
