Skip to content

Commit

Permalink
[Travis] Use env variable for NIX branch
Browse files Browse the repository at this point in the history
Easier to change for release
  • Loading branch information
achilleas-k committed Nov 17, 2016
1 parent 8bedcf8 commit a717715
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -3,6 +3,10 @@ dist: trusty

language: python

env:
global:
- NIX_BRANCH=master

matrix:
include:
- python: "2.7_with_system_site_packages"
Expand Down Expand Up @@ -30,7 +34,7 @@ install:
- pip install --upgrade numpy coveralls h5py
#build NIX
- if [ -n "$NIX_LIBDIR" ]; then
git clone --branch master https://github.com/G-Node/nix.git nix-build;
git clone --branch ${NIX_BRANCH} https://github.com/G-Node/nix.git nix-build;
pushd nix-build;
cmake -DCMAKE_INSTALL_PREFIX=./inst -DBUILD_TESTING=OFF .;
make;
Expand Down

0 comments on commit a717715

Please sign in to comment.