Skip to content

Instantly share code, notes, and snippets.

@suciptoid
Created October 26, 2016 04:22
Show Gist options
  • Save suciptoid/b894a34cc99fe539009d55c317f028c8 to your computer and use it in GitHub Desktop.
Save suciptoid/b894a34cc99fe539009d55c317f028c8 to your computer and use it in GitHub Desktop.
Travis CI for Qt 5 Project
sudo: required
dist: trusty
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt55[QTPACKAGE]
script:
- source /opt/qt55/bin/qt55-env.sh
- cd src
- /opt/qt55/bin/qmake -project
- /opt/qt55/bin/qmake KBBI-Qt.pro
- make
@junbujianwpl
Copy link

junbujianwpl commented Apr 13, 2018

cd src
/home/travis/.travis/job_stages: line 57: cd: src: No such file or directory

Should we remove that line?
After I removed the line, another error occured.

source /opt/qt55/bin/qt55-en.sh
/home/travis/.travis/job_stages: line 57: /opt/qt55/bin/qt55-en.sh: No such file or directory
The command "source /opt/qt55/bin/qt55-en.sh" exited with 1.

What is the little bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment