Skip to content

Commit a177011

Browse files
committed
Fix multi OS dependency installation
We could possibly use the master of Universal Ctags for MacOS but that would introduce another error surface.
1 parent 7fe2fc9 commit a177011

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ julia:
99
- 1.2
1010
- nightly
1111
before_install:
12-
- sudo apt-get install -y ctags || sudo apt-get install -y universal-ctags || sudo apt-get install -y exuberant-ctags
13-
addons:
14-
homebrew:
15-
packages:
16-
- ctags
12+
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y universal-ctags || sudo apt-get install -y exuberant-ctags || sudo apt-get install -y ctags; fi
13+
# If we want the Universal Ctags master. No tagged releases yet.
14+
# - if [ $TRAVIS_OS_NAME = osx ]; then brew tap universal-ctags/universal-ctags && brew install --HEAD universal-ctags; fi
15+
- if [ $TRAVIS_OS_NAME = osx ]; then brew install ctags; fi
1716
matrix:
1817
allow_failures:
1918
- julia: nightly

0 commit comments

Comments
 (0)