forked from Andersbakken/rtags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (41 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: cpp
sudo: required
git:
depth: 3
branches:
only:
- master
- develop
- /^v[0-9]+\.[0-9]+$/
jobs:
include:
- os: linux
compiler: g++
dist: trusty
env: T=g++-linux COMPILER_VERSION=-7
script: ./scripts/travis.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- python3-pip
- libcppunit-dev
- os: osx
script: ./scripts/travis.sh
compiler: clang
env: T=clang-osx
- stage: Release
before_deploy: ./scripts/rtags-release.sh
script: true
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: DOlyG6rhNwvBt+AfQPbOR6gjqvYQYU8rEiFB7cjOY+ghDMw8ijcd3akORusrFqhkCbDLxK2/J6VbNLZCErv/mAUOvt+FPm9DsSbrulKRAeS5l1YQoUfokAE5AFaRSHGlshilYrDvDjljpyRLyZJZheQjSTeUbZYJQEEJQpTQhOQ=
file:
- build/rtags-${TRAVIS_TAG#v*}.tar.bz2
- build/rtags-${TRAVIS_TAG#v*}.tar.gz
on:
tags: true