Reconstruct .travis.yml based on the .travis.yml of the firmware repo in the hope to make the build work.

This commit is contained in:
László Monda
2018-01-22 14:28:23 +01:00
parent 8a67901ae9
commit d58e192cfb

View File

@@ -1,17 +1,24 @@
language: generic language: generic
os: osx
cache: cache:
directories: directories:
- $HOME/Library/Caches/Homebrew/Cask - $HOME/Library/Caches/Homebrew/Cask
install: install: eclipse -noSplash
- brew cask install eclipse-cpp gcc-arm-embedded
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
-application org.eclipse.equinox.p2.director -application org.eclipse.equinox.p2.director
-repository http://gnuarmeclipse.sourceforge.net/updates -repository http://gnuarmeclipse.sourceforge.net/updates
-installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group -installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group
-profileProperties org.eclipse.update.install.features=true -profileProperties org.eclipse.update.install.features=true
script: script: eclipse -noSplash
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
-application org.eclipse.cdt.managedbuilder.core.headlessbuild -application org.eclipse.cdt.managedbuilder.core.headlessbuild
-import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader -import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader
-build all -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