From d58e192cfba0c9319914271d78f551680dfe685a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 22 Jan 2018 14:28:23 +0100 Subject: [PATCH] Reconstruct .travis.yml based on the .travis.yml of the firmware repo in the hope to make the build work. --- .travis.yml | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 46c8e05..611420a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,24 @@ language: generic -os: osx cache: directories: - $HOME/Library/Caches/Homebrew/Cask -install: - - brew cask install eclipse-cpp gcc-arm-embedded - - /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash - -application org.eclipse.equinox.p2.director - -repository http://gnuarmeclipse.sourceforge.net/updates - -installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group - -profileProperties org.eclipse.update.install.features=true -script: - - /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash - -application org.eclipse.cdt.managedbuilder.core.headlessbuild - -import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader - -build all +install: eclipse -noSplash + -application org.eclipse.equinox.p2.director + -repository http://gnuarmeclipse.sourceforge.net/updates + -installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group + -profileProperties org.eclipse.update.install.features=true +script: eclipse -noSplash + -application org.eclipse.cdt.managedbuilder.core.headlessbuild + -import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader + -build all +matrix: + include: + - os: linux + sudo: required + before_install: + - curl https://nixos.org/nix/install | sh && . ~/.nix-profile/etc/profile.d/nix.sh + - nix-env -i gcc-arm-embedded-4.8-2014q1-20140314 + - nix-env -i eclipse-cpp + - os: osx + env: PATH="$PATH:/Applications/Eclipse CPP.app/Contents/MacOS" + before_install: brew update && brew bundle -v