diff options
author | Max Illfelder <illfelder@google.com> | 2016-05-03 20:41:50 -0700 |
---|---|---|
committer | Max Illfelder <illfelder@google.com> | 2016-05-03 20:41:50 -0700 |
commit | b4bad75ef148e730b72a46661d15ed55f8275f6b (patch) | |
tree | 3981c564d960a18c6abe6d41f83584cc313e0d05 /.travis.yml | |
parent | 5d54749eafbe6949caf0bb15553e31a019872173 (diff) | |
download | google-compute-image-packages-b4bad75ef148e730b72a46661d15ed55f8275f6b.tar.gz |
Python 2.6 support for Linux guest testing.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f6f7b5b..cc5b132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python sudo: true python: + - 2.6 - 2.7 - 3.2 - 3.3 @@ -14,9 +15,11 @@ env: - BOTO_CONFIG=/tmp/fake os: - linux -# python3.2 does not have mock installed by default. +# Python 2.6 uses a backported version of unittest. +# Python 3.2 does not have mock installed by default. install: - pip install boto + - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi - if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then pip3.2 install mock; fi # nosetests will run all tests within the current directory. script: |