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
|
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
|
-application org.eclipse.equinox.p2.director
|
||||||
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
|
-repository http://gnuarmeclipse.sourceforge.net/updates
|
||||||
-application org.eclipse.equinox.p2.director
|
-installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group
|
||||||
-repository http://gnuarmeclipse.sourceforge.net/updates
|
-profileProperties org.eclipse.update.install.features=true
|
||||||
-installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group
|
script: eclipse -noSplash
|
||||||
-profileProperties org.eclipse.update.install.features=true
|
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
|
||||||
script:
|
-import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader
|
||||||
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
|
-build all
|
||||||
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
|
matrix:
|
||||||
-import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader
|
include:
|
||||||
-build all
|
- 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