Fixed travis script and qtsdk url
This commit is contained in:
parent
69fba0fc69
commit
57c55970da
1 changed files with 6 additions and 7 deletions
13
.travis.yml
13
.travis.yml
|
@ -1,16 +1,15 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||||
- if [ "$CXX" = "g++" ]; then sudo apt-get update -qq; fi
|
- sudo apt-get update -qq
|
||||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
|
- sudo apt-get install g++-4.8
|
||||||
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50; fi
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
|
||||||
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
|
||||||
- wget -O Qt5.2.0.tar.xz https://dl.dropboxusercontent.com/u/20447449/Qt5.2.0.tar.xz
|
- wget -O Qt5.2.0.tar.xz http://thunderk.net/public/Qt5.2.0.tar.xz
|
||||||
- mkdir ~/Qt5.2.0
|
- mkdir ~/Qt5.2.0
|
||||||
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0
|
- tar -xJf Qt5.2.0.tar.xz -C ~/Qt5.2.0
|
||||||
- sudo chmod -R 777 ~/Qt5.2.0/
|
- sudo chmod -R 777 ~/Qt5.2.0/
|
||||||
- ln -s ~/Qt5.2.0/5.2.0/gcc_64/mkspecs/linux-g++ ~/Qt5.2.0/5.2.0/gcc_64/mkspecs/linux-gcc
|
|
||||||
- make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64
|
- make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64
|
||||||
|
|
||||||
script: make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64 tests
|
script: make BUILDMODE=debug QTSDK=~/Qt5.2.0/5.2.0/gcc_64 tests
|
||||||
|
|
Loading…
Reference in a new issue