Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ sudo: false
python:
- "2.6"
- "2.7"
install:
#- "3.4"
before_install:
- "./.travis_python_dep.sh"
install: true
#- pip install pep8 --use-mirrors
#- pip install pyflakes --use-mirrors
- pip install robotframework
- pip install selenium
- pip install decorator
- pip install docutils
# Installation is done at before_install
##- pip install robotframework==3.0b1
##- pip install selenium
##- pip install decorator
##- pip install docutils
##- pip install future
# Mockito is only used when in Python 2.7 after installing future
##- pip install mockito
#- "if [[ ${BROWSER} == 'ie' ]]; then pip install ie_only_pkg; fi"
before_script:
- "export DISPLAY=:99.0"
Expand Down
24 changes: 24 additions & 0 deletions .travis_python_dep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash
set -ev
PYTHON_VERSION=`python -c "import sys; print(sys.version[:3])"`
if [ "${PYTHON_VERSION}" = "2.6" ]; then
pip install robotframework==2.9.2
pip install selenium
pip install decorator
pip install docutils
# pip install future
# pip install mockito
elif [ "${PYTHON_VERSION}" = "2.7" ]; then
pip install robotframework
pip install selenium
pip install decorator
pip install docutils
# pip install future
# pip install mockito
elif [ "${PYTHON_VERSION}" = "3.4" ]; then
pip install robotframework==3.0b1
pip install selenium
pip install decorator
pip install docutils
pip install future
fi