Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
Add travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
forGGe committed Feb 10, 2018
1 parent 23c1c14 commit 2126d44
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: cpp
sudo: required
dist: trusty
branches:
only:
- develop
- /^develop-.*$/
- master
- release

install:
- travis_retry curl https://nixos.org/nix/install -o nix_install.sh
- sh nix_install.sh
- . $HOME/.nix-profile/etc/profile.d/nix.sh
- travis_retry nix-shell ./core --pure --run true

script:
- mkdir build
- cd build
- nix-shell ../core --pure --run cmake -DCMAKE_TOOLCHAIN_FILE=../core/toolchains/arm-cm4-gnu.cmake ../
- nix-shell ../core --pure --run make

0 comments on commit 2126d44

Please sign in to comment.