Skip to content

Instantly share code, notes, and snippets.

@feeds
Created May 22, 2018 17:03
Show Gist options
  • Save feeds/639f7dc7f86c3bd717714427e1dc64c3 to your computer and use it in GitHub Desktop.
Save feeds/639f7dc7f86c3bd717714427e1dc64c3 to your computer and use it in GitHub Desktop.
Travis file for importing graph_tool with python3
sudo: required
dist: trusty
language: python
python:
- "3.6"
# command to install dependencies
cache:
- pip
- apt
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://downloads.skewed.de/apt/trusty trusty universe'
key_url: 'https://packagecloud.io/gpg.key'
- sourceline: 'deb-src http://downloads.skewed.de/apt/trusty trusty universe'
key_url: 'https://packagecloud.io/gpg.key'
packages:
- expat
- libsparsehash-dev
- gtk+3
- libboost-all-dev
- graphviz
- build-essential
- libcairo2-dev
- python3-pip
- python3-dev
- python3-matplotlib
- gfortran
- libopenblas-dev
- liblapack-dev
- libcgal-dev
- python3-numpy
- python3-cairo
- python3-scipy
- libgomp1
- libstdc++6
- python3-graph-tool
install:
- "pip install -r requirements.txt"
script:
- pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment