Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #2 from forGGe/travis_integration
Browse files Browse the repository at this point in the history
Travis integration
  • Loading branch information
forGGe committed Apr 12, 2016
2 parents 6e2ed66 + 2bee4a6 commit bbf1388
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: cpp
sudo: required
dist: trusty
install:
- curl https://nixos.org/nix/install | sh
- . $HOME/.nix-profile/etc/profile.d/nix.sh
- nix-shell --pure --run true

script: nix-shell --pure --run ./scripts/ci_test.sh
11 changes: 11 additions & 0 deletions scripts/ci_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
# Builds and executes tests.

set -e # Stop on error
set -v # Be verbose

mkdir build
cd build
cmake ..
make
ctest . --output-on-failure

0 comments on commit bbf1388

Please sign in to comment.