Skip to content

Commit d58e192

Browse files
committed
Reconstruct .travis.yml based on the .travis.yml of the firmware repo in the hope to make the build work.
1 parent 8a67901 commit d58e192

1 file changed

Lines changed: 20 additions & 13 deletions

File tree

.travis.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
language: generic
2-
os: osx
32
cache:
43
directories:
54
- $HOME/Library/Caches/Homebrew/Cask
6-
install:
7-
- brew cask install eclipse-cpp gcc-arm-embedded
8-
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
9-
-application org.eclipse.equinox.p2.director
10-
-repository http://gnuarmeclipse.sourceforge.net/updates
11-
-installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group
12-
-profileProperties org.eclipse.update.install.features=true
13-
script:
14-
- /Applications/Eclipse.app/Contents/MacOS/eclipse -noSplash
15-
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
16-
-import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader
17-
-build all
5+
install: eclipse -noSplash
6+
-application org.eclipse.equinox.p2.director
7+
-repository http://gnuarmeclipse.sourceforge.net/updates
8+
-installIUs ilg.gnuarmeclipse.managedbuild.cross.feature.group
9+
-profileProperties org.eclipse.update.install.features=true
10+
script: eclipse -noSplash
11+
-application org.eclipse.cdt.managedbuilder.core.headlessbuild
12+
-import $TRAVIS_BUILD_DIR/targets/MK22F51212/kds/freedom_bootloader
13+
-build all
14+
matrix:
15+
include:
16+
- os: linux
17+
sudo: required
18+
before_install:
19+
- curl https://nixos.org/nix/install | sh && . ~/.nix-profile/etc/profile.d/nix.sh
20+
- nix-env -i gcc-arm-embedded-4.8-2014q1-20140314
21+
- nix-env -i eclipse-cpp
22+
- os: osx
23+
env: PATH="$PATH:/Applications/Eclipse CPP.app/Contents/MacOS"
24+
before_install: brew update && brew bundle -v

0 commit comments

Comments
 (0)