Skip to content

Commit 10ad38a

Browse files
authored
Merge pull request #791 from effigies/ci/check_archive_install
CI: Test installing from git archive
2 parents 2f2c308 + bec7b15 commit 10ad38a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ matrix:
7272
- python: 2.7
7373
env:
7474
- INSTALL_TYPE=requirements
75+
- python: 2.7
76+
env:
77+
- INSTALL_TYPE=archive
7578
- python: 2.7
7679
env:
7780
- CHECK_TYPE="style"
@@ -122,6 +125,9 @@ install:
122125
elif [ "$INSTALL_TYPE" == "requirements" ]; then
123126
pip install $EXTRA_PIP_FLAGS -r requirements.txt
124127
python setup.py install
128+
elif [ "$INSTALL_TYPE" == "archive" ]; then
129+
git archive -o package.tar.gz HEAD
130+
pip install $EXTRA_PIP_FLAGS package.tar.gz
125131
fi
126132
# Point to nibabel data directory
127133
- export NIBABEL_DATA_DIR="$PWD/nibabel-data"

0 commit comments

Comments
 (0)