-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (35 loc) · 1.09 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
language: java
jdk: openjdk8
dist: trusty
sudo: required
os:
- linux
- osx
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install macvim --with-override-system-vim
brew install python3
export JAVA_HOME=`/usr/libexec/java_home`
else
sudo apt-get update -q
sudo apt-get install python3 python3-pip -y
sudo pip3 install vim-vint
curl -sflL https://github.com/redpen-cc/redpen/releases/download/redpen-1.5.2/redpen-1.5.2.tar.gz -o redpen-1.5.2.tar.gz
tar xf redpen-1.5.2.tar.gz
export PATH=redpen-distribution-1.5.2/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
fi
- git clone https://github.com/thinca/vim-themis
- git clone https://github.com/Shougo/unite.vim.git
- python3 --version
- java -version
- redpen --version
- vim --version
script:
- vint --color $(git ls-files | grep -e '.vim$' | grep -v vital)
- ./vim-themis/bin/themis test/
matrix:
allow_failures:
- os: osx