travis: Make travis.yml more readable

This commit is contained in:
Tomas Babej 2015-03-26 01:03:03 +01:00
parent 02bce6903b
commit c385777c32

View file

@ -16,7 +16,9 @@ before_install:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start - sh -e /etc/init.d/xvfb start
install: install:
# Install testing tools
- pip install pytest pytest-cov coveralls - pip install pytest pytest-cov coveralls
# Setup TaskWarrior
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq build-essential cmake uuid-dev g++-4.8 - sudo apt-get install -qq build-essential cmake uuid-dev g++-4.8
@ -29,7 +31,9 @@ install:
- make - make
- sudo make install - sudo make install
- task --version - task --version
# Setup Gvim
= sudo apt-get install -qq vim-gnome = sudo apt-get install -qq vim-gnome
# Setup vimwiki
- mkdir -p ~/.vim/bundle - mkdir -p ~/.vim/bundle
- pushd ~/.vim/bundle - pushd ~/.vim/bundle
- git clone https://github.com/vimwiki/vimwiki.git - git clone https://github.com/vimwiki/vimwiki.git
@ -37,6 +41,7 @@ install:
- pushd ~/.vim/bundle/vimwiki/ - pushd ~/.vim/bundle/vimwiki/
- git checkout dev - git checkout dev
- popd - popd
# Setup taskwiki
- cp -r $TRAVIS_BUILD_DIR ~/.vim/bundle/taskwiki - cp -r $TRAVIS_BUILD_DIR ~/.vim/bundle/taskwiki
before_script: before_script:
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR