I'm using tox and Python 3.3 with Travis-CI

Travis-CI is convenient. But it's a shame that Python 3.3 isn't supported at this stage.

But Python 3.3 is easy to install, so if you're already using tox or a project, using tox will reduce the number of builds rather than writing multiple versions of Python in .travis.yml. Also recommended as soon as possible.

Installation of Python 3.3

Since Travis-CI's server has PPAs registered for many versions of Python, Python-3.3 can also be installed with apt-get.

language: python
python:
    - 2.7

install:
    - sudo apt-get update -qq
    - sudo apt-get install -q python3.3-dev

use tox

It's already in Python 2.7's virtualenv, so let's install and run tox there.

The Travis manual recommends using the --use-mirrors option of pip install, so let's also set the environment variables so that they are used properly in tox.

language: python
python:
    - 2.7

env:
    - PIP_USE_MIRRORS=true

install:
    - sudo apt-get update -qq
    - sudo apt-get install -q python3.3-dev
    - pip install --use-mirrors tox

script: "tox"

Recommended Posts

I'm using tox and Python 3.3 with Travis-CI
Using Python and MeCab with Azure Databricks
Encryption and decryption with Python
Python and hardware-Using RS232C with Python-
[S3] CRUD with S3 using Python [Python]
Using Quaternion with Python ~ numpy-quaternion ~
[Python] Using OpenCV with Python (Basic)
python with pyenv and venv
Using OpenCV with Python @Mac
Works with Python and R
Send using Python with Gmail
IP spoof using tor on macOS and check with python
Test Python with Miniconda on OS X and Linux with travis-ci
Using Python with SPSS Modeler extension nodes ① Setup and visualization
Serial communication control with python and I2C communication (using USBGPIO8 device)
Serial communication control with python and SPI communication (using USBGPIO8 device)
This and that for using Step Functions with CDK + Python
Complement python with emacs using company-jedi
Shining life with Python and OpenCV
Harmonic mean with Python Harmonic mean (using SciPy)
Robot running with Arduino and python
[Python] Using OpenCV with Python (Image Filtering)
Neural network with OpenCV 3 and Python 3
AM modulation and demodulation with python
[Python] font family and font with matplotlib
Scraping with Node, Ruby and Python
Authentication using tweepy-User authentication and application authentication (Python)
[Python] Using OpenCV with Python (Image transformation)
Scraping with Python, Selenium and Chromedriver
[Python] Using OpenCV with Python (Edge Detection)
Scraping with Python and Beautiful Soup
JSON encoding and decoding with python
Hadoop introduction and MapReduce with Python
[GUI with Python] PyQt5-Drag and drop-
Using Sessions and Reflections with SQLAlchemy
Reading and writing NetCDF with Python
Clustering and visualization using Python and CytoScape
I played with PyQt5 and Python3
Notes on using rstrip with python.
Reading and writing CSV with Python
Multiple integrals with Python and Sympy
Coexistence of Python2 and 3 with CircleCI (1.0)
Easy modeling with Blender and Python
When using MeCab with virtualenv python
Precautions when using six with Python 2.5
Sugoroku game and addition game with python
FM modulation and demodulation with Python
[Python] Error and solution memo when using venv with pyenv + anaconda
Communicate between Elixir and Python with gRPC
Data pipeline construction with Python and Luigi
Calculate and display standard weight with python
[AWS] Using ini files with Lambda [Python]
Notes using cChardet and python3-chardet in Python 3.3.1.
Monitor Mojo outages with Python and Skype
From Python to using MeCab (and CaboCha)
Try mathematical formulas using Σ with python
FM modulation and demodulation with Python Part 3
[Automation] Manipulate mouse and keyboard with Python
Behind the flyer: Using Docker with Python
Passwordless authentication with RDS and IAM (Python)
Python installation and package management with pip