2016-07-28 20:21:57 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2017-06-11 12:35:52 +00:00
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2017-07-06 19:16:12 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
dist: trusty
|
2017-06-11 19:58:11 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|
2016-07-28 20:21:57 +00:00
|
|
|
before_install:
|
2017-02-20 19:03:35 +00:00
|
|
|
- sudo apt-get update
|
2016-07-28 20:21:57 +00:00
|
|
|
- sudo apt-get install -y checkinstall build-essential
|
|
|
|
- sudo apt-get install portaudio19-dev
|
2017-07-06 19:16:12 +00:00
|
|
|
- sudo apt-get install libsecret-1-dev
|
2016-10-22 19:56:18 +00:00
|
|
|
- sudo apt-get install libconfig-dev libvpx-dev check -qq
|
2016-07-28 20:21:57 +00:00
|
|
|
install:
|
2017-06-18 14:48:32 +00:00
|
|
|
- pip install sip
|
|
|
|
- pip install pyqt5
|
2016-07-28 20:21:57 +00:00
|
|
|
- pip install pyaudio
|
2017-06-18 14:48:32 +00:00
|
|
|
- pip install opencv-python
|
2018-05-23 18:23:51 +00:00
|
|
|
- pip install pydenticon
|
2016-07-28 20:21:57 +00:00
|
|
|
before_script:
|
2017-06-29 19:14:52 +00:00
|
|
|
# Opus
|
2016-10-22 19:52:56 +00:00
|
|
|
- wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz
|
|
|
|
- tar xzf opus-1.0.3.tar.gz
|
|
|
|
- cd opus-1.0.3
|
|
|
|
- ./configure
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
2016-07-28 20:21:57 +00:00
|
|
|
# Libsodium
|
|
|
|
- git clone git://github.com/jedisct1/libsodium.git
|
|
|
|
- cd libsodium
|
|
|
|
- git checkout tags/1.0.3
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure && make -j$(nproc)
|
|
|
|
- sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.0 --nodoc -y
|
|
|
|
- sudo ldconfig
|
|
|
|
- cd ..
|
|
|
|
# Toxcore
|
2018-05-23 18:23:51 +00:00
|
|
|
- git clone https://github.com/ingvar1995/toxcore.git --branch=new_gc
|
2016-07-28 20:21:57 +00:00
|
|
|
- cd toxcore
|
|
|
|
- autoreconf -if
|
|
|
|
- ./configure
|
|
|
|
- make -j$(nproc)
|
|
|
|
- sudo make install
|
|
|
|
- echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
|
|
|
|
- sudo ldconfig
|
|
|
|
- cd ..
|
2016-10-22 19:21:26 +00:00
|
|
|
script:
|
|
|
|
- py.test tests/travis.py
|
|
|
|
- py.test tests/tests.py
|