-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
48 lines (43 loc) · 1.29 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
language: ruby
rvm: system
os: osx
matrix:
include:
- env: OSX=10.12
compiler: clang
osx_image: xcode9.2
cache:
directories:
- /usr/local/Homebrew/Library/Homebrew/vendor/bundle
branches:
only:
- master
before_install:
- sudo chown -R "$USER" "$(brew --repo)"
- travis_retry brew update
- HOMEBREW_TAP_DIR="$(brew --repo "$TRAVIS_REPO_SLUG")"
- mkdir -p "$HOMEBREW_TAP_DIR"
- rm -rf "$HOMEBREW_TAP_DIR"
- ln -s "$PWD" "$HOMEBREW_TAP_DIR"
# FIX:
# $ gem install bundler -v '< 2'
# ERROR: Could not find a valid gem 'bundler' (< 2), here is why:
# Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv2/v3 read
# server hello A: tlsv1 alert protocol version (https://rubygems.org/specs.4.8.gz)
# The command "gem install bundler -v '< 2'" failed and exited with 2 during .
- brew install openssl
- brew tap raggi/ale
- brew install openssl-osx-ca
script:
# FIX:
# ==> brew audit twlz0ne/ccls/ccls --online
# Error: 1 problem in 1 formula detected
# twlz0ne/ccls/ccls:
# * stable version should not decrease (from 0.20180913 to 0.20180812)
# ==> FAILED
- brew tap twlz0ne/homebrew-test-bot
#
- brew test-bot --skip-setup
- brew install ccls
- brew list --versions ccls
- brew test ccls