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:
33
.travis.yml
33
.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
|
||||
|
||||
Reference in New Issue
Block a user