Permalink
Browse files

.travis.yml: Cleanup.

  • Loading branch information...
1 parent d2ae430 commit 82d6c51a23cb082fc7e26d5ba67ee8f655cce71b @jorgenschaefer committed Feb 26, 2013
Showing with 16 additions and 16 deletions.
  1. +16 −16 .travis.yml
View
@@ -1,34 +1,34 @@
language: python
+python:
+ - 2.6
+ - 2.7
+ - 3.3
+env:
+ - EMACS=emacs24
+ - EMACS=emacs-snapshot
before_install:
- - if [ "$EMACS" = 'emacs-snapshot' ]; then
+ - if [ "$EMACS" = 'emacs-snapshot' ] ; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get update -qq &&
sudo apt-get install -qq
- emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot;
+ emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot ;
fi
- - if [ "$EMACS" = 'emacs24' ]; then
+ - if [ "$EMACS" = 'emacs24' ] ; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get update -qq &&
sudo apt-get install -qq
- emacs24 emacs24-el emacs24-common-non-dfsg;
+ emacs24 emacs24-el emacs24-common-non-dfsg ;
fi
install:
- - "pip install jedi --use-mirrors"
- - if python --version 2>&1 | fgrep -q "Python 2.6" ; then
+ - pip install jedi --use-mirrors
+ - if [[ "$TRAVIS_PYTHON_VERSION" == 2.6 ]] ; then
pip install unittest2 --use-mirrors ;
fi
- - if python --version 2>&1 | fgrep -q "Python 2" ; then
+ - if [[ "$TRAVIS_PYTHON_VERSION" == 2.* ]] ; then
pip install rope --use-mirrors ;
fi
- - if python --version 2>&1 | fgrep -q "Python 3" ; then
+ - if [[ "$TRAVIS_PYTHON_VERSION" == 3.* ]] ; then
pip install rope_py3k --use-mirrors ;
fi
-python:
- - "2.6"
- - "2.7"
- - "3.3"
-env:
- - EMACS=emacs24
- - EMACS=emacs-snapshot
script:
- ./test-travis.sh
+ - ./test-travis.sh

0 comments on commit 82d6c51

Please sign in to comment.