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

Commit fad8426

Browse files
committed
Add travis CI
1 parent 23c1c14 commit fad8426

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: cpp
2+
sudo: required
3+
dist: trusty
4+
branches:
5+
only:
6+
- develop
7+
- /^develop-.*$/
8+
- master
9+
- release
10+
11+
install:
12+
- travis_retry curl https://nixos.org/nix/install -o nix_install.sh
13+
- sh nix_install.sh
14+
- . $HOME/.nix-profile/etc/profile.d/nix.sh
15+
- travis_retry nix-shell ./core --pure --run true
16+
17+
script:
18+
- mkdir build
19+
- cd build
20+
- nix-shell ../core --pure --run "cmake -DCMAKE_TOOLCHAIN_FILE=../core/toolchains/arm-cm4-gnu.cmake ../"
21+
- nix-shell ../core --pure --run make

0 commit comments

Comments
 (0)