summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-07-10 01:07:57 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2015-07-10 01:07:57 +0200
commit1f93e608648ffc10e72abefcda69e9b2255c64cb (patch)
treebdb922c2a6f4ecdbf2106ab17b0c204eff586857 /.travis.yml
parentc00520ec2238f6ce26a2ff6c1010b49c33a82ac4 (diff)
let's see if we can do this on Qt4
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 2 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 8f64e5ae..63811d47 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,27 +9,13 @@ compiler:
- clang
before_install:
- - if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- - if [ "$CXX" = "g++" ]; then sudo apt-get update -qq; fi
- - if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
- - if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50; fi
- - if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
- QtMkspec=$CC
- $CC --version
- - which $CC
- # workaround clang not system wide, fail on sudo make install
- - export CC=`which $CC`
- - wget -O Qt5.2.0.tar.xz https://dl.dropboxusercontent.com/u/20447449/Qt5.2.0.tar.xz
- - mkdir ~/Qt5.2.0
- - tar -xJf Qt5.2.0.tar.xz -C ~/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
- - cd ..
script:
- cd qtpass
- - ~/Qt5.2.0/5.2.0/gcc_64/bin/qmake -v
- - ~/Qt5.2.0/5.2.0/gcc_64/bin/qmake -spec linux-$QtMkspec -Wall qtpass.pro
+ - qmake -v
+ - qmake -spec linux-$QtMkspec -Wall qtpass.pro
- make -j$(nproc)
notifications: