File tree 1 file changed +41
-14
lines changed
1 file changed +41
-14
lines changed Original file line number Diff line number Diff line change 1
- language : cpp
2
- dist : xenial
3
- sudo : required
1
+ # Run in default virtualenv, but with access to Python packages
2
+ # installed by apt
3
+ language : python
4
+ virtualenv :
5
+ system_site_packages : true
6
+ addons :
7
+ apt :
8
+ sources :
9
+ - sourceline : ' ppa:openshot.developers/libopenshot-daily'
10
+ packages :
11
+ - libopenshot-audio-dev
12
+ - libopenshot-dev
13
+ - libssl-dev
14
+ - python3-openshot
15
+ - python3-pip
16
+ - python3-setuptools
17
+ - python3-pyqt5
18
+ - python3-pyqt5.qtmultimedia
19
+ - python3-pyqt5.qtopengl
20
+ - python3-pyqt5.qtsvg
21
+ - python3-pyqt5.qtwebkit
22
+ - python3-requests
23
+ - python3-xdg
24
+ - python3-zmq
25
+ - qttranslations5-l10n
26
+ - xvfb
4
27
5
- before_install :
6
- - sudo add-apt-repository ppa:openshot.developers/libopenshot-daily -y
7
- - sudo apt-get update -qq
8
- - sudo apt-get install gcc-4.8 xvfb tar cmake libopenshot-dev libopenshot-audio-dev libunittest++-dev swig doxygen doxypy libssl-dev python3 python3-dev python3-pip python3-pyqt5 python3-setuptools python3-openshot python3-pyqt5 python3-pyqt5.qtmultimedia python3-pyqt5.qtopengl python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-xdg python3-zmq qttranslations5-l10n -y
9
- - sudo apt autoremove -y
10
- - wget https://files.pythonhosted.org/packages/d0/6d/9492644452727094543575de9846af5a2b9c764f760e2d414af7c876618c/cx_Freeze-5.0.1.tar.gz
11
- - tar xf cx_Freeze-5.0.1.tar.gz
12
- - cd cx_Freeze-5.0.1; python3 setup.py build; sudo python3 setup.py install; cd ..;
13
- - pwd
28
+ matrix :
29
+ include :
30
+ - name : " Python 3.5 (Ubuntu 16.04 Xenial)"
31
+ os : linux
32
+ dist : xenial
33
+ python : 3.5
34
+ - name : " Python 3.6 (Ubuntu 18.04 Bionic)"
35
+ os : linux
36
+ dist : bionic
37
+ python : 3.6
38
+
39
+ install :
40
+ - pip3 install cx-freeze
14
41
15
42
script :
16
- - python3 freeze.py build;
43
+ - python3 freeze.py build
17
44
- xvfb-run --auto-servernum --server-num=1 --server-args "-screen 0 1920x1080x24" python3 src/tests/query_tests.py
18
45
19
46
notifications :
@@ -22,4 +49,4 @@ notifications:
22
49
env :
23
50
global :
24
51
- TRAVIS_LIBOPENSHOT=TEST
25
- - LANG="en_US.UTF-8"
52
+ - LANG="en_US.UTF-8"
You can’t perform that action at this time.
0 commit comments