2013-08-12 16:04:39 -07:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2013-08-12 17:35:20 -07:00
|
|
|
- 2.6
|
2013-08-12 16:04:39 -07:00
|
|
|
- 2.7
|
2013-08-12 17:35:20 -07:00
|
|
|
- 3.3
|
2013-08-12 17:30:48 -07:00
|
|
|
- pypy
|
2013-08-12 17:14:47 -07:00
|
|
|
|
2013-08-12 17:10:47 -07:00
|
|
|
compiler: gcc
|
2013-08-12 17:03:32 -07:00
|
|
|
|
2013-08-12 16:04:39 -07:00
|
|
|
before_install:
|
2013-08-13 22:33:48 -07:00
|
|
|
- sudo apt-get install autoconf automake libtool autotools-dev
|
2013-08-12 17:10:47 -07:00
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get -qq install g++-4.8 libstdc++-4.8-dev
|
|
|
|
- sudo update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60
|
|
|
|
--slave /usr/bin/g++ g++ /usr/bin/g++-4.8
|
|
|
|
--slave /usr/bin/gcov gcov /usr/bin/gcov-4.8
|
|
|
|
- sudo update-alternatives --quiet --set gcc /usr/bin/gcc-4.8
|
2013-11-13 22:40:23 -08:00
|
|
|
- wget https://github.com/kentonv/capnproto/archive/master.zip && unzip master.zip && cd capnproto-master/c++ && ./setup-autotools.sh && autoreconf -i && ./configure && make -j6 check && sudo make install && sudo ldconfig && cd ../..
|
2013-08-12 17:14:47 -07:00
|
|
|
- pip install -U setuptools
|
|
|
|
- pip install cython
|
2013-08-28 23:30:29 -07:00
|
|
|
- pip install pytest
|
2013-08-12 16:04:39 -07:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install --editable .
|
|
|
|
|
2013-08-29 17:04:45 -07:00
|
|
|
script: py.test test
|