Skip to content

Commit

Permalink
Merge pull request #80 from fplll/travis-speed
Browse files Browse the repository at this point in the history
Speed up Travis-CI checks
  • Loading branch information
malb committed Jul 13, 2017
2 parents f4712f3 + 3098812 commit 31f6bcf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ python:
- "2.7"
- "3.5"

cache: pip

branches:
only:
- master

addons:
apt:
sources:
Expand Down
6 changes: 4 additions & 2 deletions install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

if [ "$TRAVIS_BRANCH" != "" ]; then
FPLLL_BRANCH=$TRAVIS_BRANCH;
CONFIGURE_FLAGS="--disable-static --with-max-enumeration-dimension=64"
fi

if [ "$FPLLL_BRANCH" = "" ]; then
FPLLL_BRANCH=master
CONFIGURE_FLAGS="--disable-static"
fi;

cloned=$(git clone https://github.com/fplll/fplll -b "$FPLLL_BRANCH")
Expand All @@ -18,9 +20,9 @@ cd fplll || exit
./autogen.sh

if [ "$1" != "" ]; then
./configure --prefix="$1"
./configure --prefix="$1" $CONFIGURE_FLAGS
else
./configure
./configure $CONFIGURE_FLAGS
fi

make
Expand Down

0 comments on commit 31f6bcf

Please sign in to comment.