remove unnecessary build steps from travis

This commit is contained in:
me-no-dev 2017-01-28 13:14:59 +02:00
parent 77a04a01a3
commit b0b21f7335
2 changed files with 0 additions and 27 deletions

View File

@ -3,23 +3,8 @@ language: bash
os: os:
- linux - linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
script: script:
- set -e - set -e
- export CXX="g++-4.8" CC="gcc-4.8" GCOV="gcov-4.8"
- echo -e "travis_fold:start:host_tests"
- pushd $TRAVIS_BUILD_DIR/tests/host
- make
- make clean-objects
- echo -e "travis_fold:end:host_tests"
- echo -e "travis_fold:start:sketch_test_env_prepare"
- popd
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz - wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
- tar xf arduino.tar.xz - tar xf arduino.tar.xz
- mv arduino-nightly $HOME/arduino_ide - mv arduino-nightly $HOME/arduino_ide
@ -33,7 +18,6 @@ script:
- which arduino - which arduino
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR
- source tools/common.sh - source tools/common.sh
- install_libraries
- echo -e "travis_fold:end:sketch_test_env_prepare" - echo -e "travis_fold:end:sketch_test_env_prepare"
- echo -e "travis_fold:start:sketch_test" - echo -e "travis_fold:start:sketch_test"
- build_sketches $HOME/arduino_ide $TRAVIS_BUILD_DIR/libraries "-l $HOME/Arduino/libraries" - build_sketches $HOME/arduino_ide $TRAVIS_BUILD_DIR/libraries "-l $HOME/Arduino/libraries"

View File

@ -73,14 +73,3 @@ function build_sketches()
done done
set -e set -e
} }
function install_libraries()
{
mkdir -p $HOME/Arduino/libraries
pushd $HOME/Arduino/libraries
# install ArduinoJson library
#wget https://github.com/bblanchon/ArduinoJson/releases/download/v4.6.1/ArduinoJson-v4.6.1.zip && unzip ArduinoJson-v4.6.1.zip
popd
}