forked from unbit/uwsgi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (63 loc) · 2.98 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
dist: xenial
language: c
compiler:
- gcc
script:
- echo -e "\n\n>>> Running uWSGI unit tests"
- make tests
- echo -e "\n\n>>> Building kitchensink uWSGI binary"
- UWSGICONFIG_PHPPATH=php-config7.2 /usr/bin/python uwsgiconfig.py --build travis
- echo -e "\n\n>>> Building uWSGI binary"
- make
- echo -e "\n\n>>> Building python26 plugin"
- /usr/bin/python2.6 -V
- /usr/bin/python2.6 uwsgiconfig.py --plugin plugins/python base python26
- echo -e "\n\n>>> Building python27 plugin"
- /usr/bin/python2.7 -V
- /usr/bin/python2.7 uwsgiconfig.py --plugin plugins/python base python27
- echo -e "\n\n>>> Building python34 plugin"
- /usr/bin/python3.4 -V
- /usr/bin/python3.4 uwsgiconfig.py --plugin plugins/python base python34
- echo -e "\n\n>>> Building python35 plugin"
- /usr/bin/python3.5 -V
- /usr/bin/python3.5 uwsgiconfig.py --plugin plugins/python base python35
- echo -e "\n\n>>> Building python36 plugin"
- /usr/bin/python3.6 -V
- /usr/bin/python3.6 uwsgiconfig.py --plugin plugins/python base python36
- echo -e "\n\n>>> Building python37 plugin"
- /usr/bin/python3.7 -V
- /usr/bin/python3.7 uwsgiconfig.py --plugin plugins/python base python37
- echo -e "\n\n>>> Building python38 plugin"
- /usr/bin/python3.8 -V
- /usr/bin/python3.8 uwsgiconfig.py --plugin plugins/python base python38
- echo -e "\n\n>>> Building rack plugin"
- rvm use 2.4
- ruby -v
- UWSGICONFIG_RUBYPATH=ruby /usr/bin/python uwsgiconfig.py --plugin plugins/rack base rack226
- echo -e "\n\n>>> Building cgi plugin"
- /usr/bin/python uwsgiconfig.py --plugin plugins/cgi base
- echo -e "\n\n>>> Building dummy plugin"
- /usr/bin/python uwsgiconfig.py --plugin plugins/dummy base
- echo -e "\n\n>>> Building done, starting tests"
- ./tests/travis.sh
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qqyf software-properties-common
- sudo add-apt-repository ppa:deadsnakes/ppa -y
- sudo add-apt-repository ppa:ondrej/php -y
- sudo apt-get update -qq
- sudo apt-get install -qqyf python{2.6,3.4,3.5,3.6,3.7,3.8}-dev
- sudo apt-get install -qqyf python3.8-distutils
- sudo apt-get install -qqyf libxml2-dev libpcre3-dev libcap2-dev
- sudo apt-get install -qqyf php7.2-dev libphp7.2-embed libargon2-0-dev libsodium-dev
- sudo apt-get install -qqyf liblua5.1-0-dev
- sudo apt-get install -qqyf libjansson-dev libldap2-dev libpq-dev
- sudo apt-get install -qqyf libpam0g-dev libsqlite3-dev libyaml-dev
- sudo apt-get install -qqyf libzmq-dev libmatheval-dev libperl-dev
- sudo apt-get install -qqyf libonig-dev libdb-dev libqdbm-dev libbz2-dev
- sudo apt-get install -qqyf libwrap0-dev libgeoip-dev libv8-dev libxslt1-dev
- sudo apt-get install -qqyf libboost-thread-dev libboost-filesystem-dev
- sudo apt-get install -qqyf libssl-dev libacl1-dev python-greenlet-dev
- sudo apt-get install -qqyf openjdk-8-jdk libgloox-dev gccgo
- sudo apt-get install -qqyf cli-common-dev mono-devel mono-mcs uuid-dev
- sudo apt-get install -qqyf curl check