Skip to content

Commit

Permalink
Merge pull request #34 from pixiv/feature/faster_travis
Browse files Browse the repository at this point in the history
Faster Travis CI
  • Loading branch information
harukasan authored Nov 11, 2016
2 parents 8ce3e01 + 853f117 commit c49be70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
language: go

sudo: true

go:
- 1.6
- 1.7
- tip

env:
- TURBO_VER=""
- TURBO_VER="1.5.1" CGO_LDFLAGS="-L/opt/libjpeg-turbo/lib64" CGO_CPPFLAGS="-I/opt/libjpeg-turbo/include" LD_LIBRARY_PATH="/opt/libjpeg-turbo/lib64"
- TURBO_VER="1.5.1" CGO_LDFLAGS="-L/tmp/libjpeg-turbo/lib64" CGO_CPPFLAGS="-I/tmp/libjpeg-turbo/include" LD_LIBRARY_PATH="/tmp/libjpeg-turbo/lib64"

before_install:
- ./travis-install-libjpeg-turbo.sh "$TURBO_VER"
Expand Down
5 changes: 2 additions & 3 deletions travis-install-libjpeg-turbo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
if [ "$1" != "" ]; then
cd /tmp
wget http://downloads.sourceforge.net/project/libjpeg-turbo/$1/libjpeg-turbo-official_$1_amd64.deb
sudo dpkg -i libjpeg-turbo-official_$1_amd64.deb
find /opt/libjpeg-turbo/lib64
find /opt/libjpeg-turbo/include
dpkg -x libjpeg-turbo-official_$1_amd64.deb /tmp/libjpeg-turbo-official
mv /tmp/libjpeg-turbo-official/opt/libjpeg-turbo /tmp/libjpeg-turbo
fi

0 comments on commit c49be70

Please sign in to comment.