# Circle.yml for testing python3 with Ubuntu 14.04
machine:
  pre:
    - cat /etc/*release
    - pyenv global 2.7.11 3.5.1
#
#  python:
#    version: 3.5.1
#

test:
  pre:
    - which python
    - python --version
    - which python2
    - python2 --version
    - which python3
    - python3 --version

  override:
    - python3 -c 'print("OK")'

# Circle.yml for testing python3 with Ubuntu 14.04
machine:
  pre:
    - cat /etc/*release
    - pyenv global 2.7.11 3.5.1

tlocalest:
  pre:
    - which python
    - v=$(python --version 2>& 1); if [ "$v" == "Python 2.7.11" ]; then echo "$v OK"; else ! echo "$v ERR"; fi
    - which python2
    - v=$(python2 --version 2>& 1); if [ "$v" == "Python 2.7.11" ]; then echo "$v OK"; else ! echo "$v ERR"; fi
    - which python3
    - v=$(python3 --version 2>& 1); if [ "$v" == "Python 3.5.1" ]; then echo "$v OK"; else ! echo "$v ERR"; fi

  override:
    - python3 -c 'print("OK")'

Add actual tests for expected python versions.
Add actual tests for expected python versions.
