toxygen/.travis.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2016-07-28 22:21:57 +02:00
language: python
python:
- "3.5"
- "3.6"
2017-06-11 21:58:11 +02:00
notifications:
email: false
2016-07-28 22:21:57 +02:00
before_install:
2017-02-20 20:03:35 +01:00
- sudo apt-get update
2016-07-28 22:21:57 +02:00
- sudo apt-get install -y checkinstall build-essential
- sudo apt-get install portaudio19-dev
2016-10-22 21:56:18 +02:00
- sudo apt-get install libconfig-dev libvpx-dev check -qq
2016-07-28 22:21:57 +02:00
install:
2017-06-18 16:48:32 +02:00
- pip install sip
- pip install pyqt5
2016-07-28 22:21:57 +02:00
- pip install pyaudio
2017-06-18 16:48:32 +02:00
- pip install opencv-python
2016-07-28 22:21:57 +02:00
before_script:
2016-10-22 21:52:56 +02:00
# OPUS
- 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 22:21:57 +02: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
- git clone https://github.com/irungentoo/toxcore.git
- 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 21:21:26 +02:00
script:
- py.test tests/travis.py
- py.test tests/tests.py