-
Notifications
You must be signed in to change notification settings - Fork 252
/
.travis.yml
75 lines (72 loc) · 1.79 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: cpp
sudo: required
git:
depth: 3
branches:
only:
- master
- develop
- /^v[0-9]+\.[0-9]+$/
jobs:
include:
- os: linux
compiler: g++
env: T=g++-linux COMPILER_VERSION=-7 CMAKE_BUILD_TYPE=Debug
script: ./scripts/travis.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- python3-pip
- libcppunit-dev
- os: linux
compiler: g++
env: T=g++-linux COMPILER_VERSION=-7 CMAKE_BUILD_TYPE=Release
script: ./scripts/travis.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- python3-pip
- libcppunit-dev
- os: osx
osx_image: xcode11
script: ./scripts/travis.sh
compiler: clang
env: T=clang-osx CMAKE_BUILD_TYPE=Debug
addons:
homebrew:
packages:
- llvm
- yarn
- cppunit
update: true
- os: osx
osx_image: xcode11
script: ./scripts/travis.sh
compiler: clang
env: T=clang-osx CMAKE_BUILD_TYPE=Release
addons:
homebrew:
packages:
- llvm
- yarn
- cppunit
update: true
- 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