forked from universal-ctags/homebrew-universal-ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
47 lines (39 loc) · 1.35 KB
/
.travis.yml
File metadata and controls
47 lines (39 loc) · 1.35 KB
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
# TravisCI
#
# @url: https://github.com/caskroom/homebrew-cask/blob/master/.travis.yml
# @url: https://docs.travis-ci.com/user/languages/objective-c/
# @url: https://docs.travis-ci.com/user/multi-os/
# @url: https://docs.travis-ci.com/user/reference/windows/
# @url: https://docs.brew.sh/Installation
# @url: https://docs.brew.sh/Homebrew-on-Linux
#
language: ruby
sudo: false
matrix:
include:
- os: osx
osx_image: xcode11.4
- os: linux
dist: trusty
fast_finish: true
before_install:
- |
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
#ErrorFix: Install Perl
# @see https://travis-ci.org/github/KazuakiM/homebrew-universal-ctags/jobs/683777821
brew install perl -s
fi
install:
- brew install --HEAD --with-jansson --with-libyaml ./universal-ctags.rb
script:
- ctags --version
- man -P cat ctags
- brew test universal-ctags
notifications:
email: false
# vim:fdl=0:sts=2:sw=2:ts=2