summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 193e52c66f233170d91f9e17ce2404b8ddb14039 (plain)
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
# https://travis-ci.org/ryanss/vim-hackernews

language: vim

env:
    - PYVERSION=2
    - PYVERSION=3

before_script:
    - if [ $PYVERSION = 3 ]; then
        sudo apt-get install python3-dev;
        hg clone https://code.google.com/p/vim/;
        cd vim;
        ./configure --enable-python3interp;
        make;
        sudo make install;
        sudo cp /usr/local/bin/vim /usr/bin/vim;
        cd -;
      fi
    - git clone https://github.com/junegunn/vader.vim.git

script: |
  vim -Nu <(cat << VIMRC
  filetype off
  set rtp+=vader.vim
  set rtp+=.
  filetype plugin indent on
  syntax enable
  VIMRC) -c 'Vader! tests.vader' > /dev/null