Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coder3101/cp-editor2
Browse files Browse the repository at this point in the history
  • Loading branch information
coder3101 committed Dec 15, 2019
2 parents 12d7ee1 + f77286c commit 25303d2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: cpp
dist: trusty
compiler: g++
sudo: required

before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-trusty -y
- sudo apt-get update -qq

install:
- sudo apt-get -y install qt510base libgl1-mesa-dev qt59svg qt59imageformats
- source /opt/qt*/bin/qt*-env.sh
- git submodule update --init --recursive

script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
- make -j$(nproc)

- # Generate AppImage
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt*.AppImage
- export VERSION=$(git rev-parse --short HEAD)
# - mv ../default.desktop .
# - mv ../icon.ico .
- ./linuxdeployqt*.AppImage ./CPEditor -appimage
- curl --upload-file ./CPEditor*.AppImage https://transfer.sh/CPEditor-git.$(git rev-parse --short HEAD)-x86_64.AppImage

# Temporarily disabled so that AppImage generation can be tested
# branches:
# only:
# - master

0 comments on commit 25303d2

Please sign in to comment.