Skip to content

Commit

Permalink
add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Feb 16, 2019
1 parent 224038f commit d51d7e5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.sh
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# Travis CI specific build script
#
set -euo pipefail

# load profile
profile=$(nix-build --no-out-link profile.nix)
export PATH=$profile/bin:$PATH

cargo build
cargo test
6 changes: 6 additions & 0 deletions .travis.yml
@@ -0,0 +1,6 @@
language: nix

nix: 2.2.1

script:
- ./.travis.sh

0 comments on commit d51d7e5

Please sign in to comment.