2018-10-10 20:07:24 +01:00
|
|
|
language: cpp
|
2018-10-10 21:18:20 +01:00
|
|
|
#compiler: clang
|
2018-10-10 20:07:24 +01:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
install:
|
|
|
|
- sudo apt-get install -y qt5-default qttools5-dev-tools #install necessary Qt files
|
|
|
|
|
|
|
|
script:
|
2018-10-10 20:16:53 +01:00
|
|
|
- qmake # -config release
|
2018-10-10 21:02:57 +01:00
|
|
|
- make -j2
|
2018-10-10 20:44:44 +01:00
|
|
|
|
2018-10-10 20:54:03 +01:00
|
|
|
before_deploy:
|
|
|
|
# Set up git user name and tag this commit
|
2018-10-10 21:02:57 +01:00
|
|
|
- git config --local user.name "garakmon"
|
|
|
|
- git config --local user.email "garakmon@gmail.com"
|
2018-10-10 20:54:03 +01:00
|
|
|
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)
|
|
|
|
|
2018-10-10 20:44:44 +01:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key: $GITHUB_OAUTH_TOKEN
|
|
|
|
file: porymap
|
|
|
|
skip_cleanup: true
|
2018-10-10 21:02:57 +01:00
|
|
|
on:
|
2018-10-10 21:18:20 +01:00
|
|
|
repo: garakmon/porymap
|
2018-10-10 21:07:19 +01:00
|
|
|
branches:
|
2018-10-10 21:18:20 +01:00
|
|
|
only:
|
|
|
|
- travis-ci
|
2018-10-10 21:07:19 +01:00
|
|
|
# tags: true
|