porymap/.travis.yml

26 lines
545 B
YAML
Raw Normal View History

2018-10-10 20:07:24 +01:00
language: cpp
2018-10-10 20:12:10 +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:
tags: true