forked from edemo/PDOauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 3.49 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
env:
global:
- NSS_DEFAULT_DB_TYPE="sql"
- I_DONT_MIND_IF_MY_CHROME_PKI_DATABASE_GETS_DELETED=true
- secure: "AgFID7Zfh65cwfqveYJXUT8q7xcBDA6+gNCmV90ihmvips5Uxrb7aGHQYVxPPGQy1pbv2fMnxWHjj5HR7gVp9W06HhN6kTqseGYABPWk0Tmyd0rNdDcvSMfXx9yy4jc+f2tqdmMcNOhdJ+feBaFq7uZOkqlTndkdD8m1XBMZUVs="
before_install:
- ./tools/setupdoc
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- cp /etc/apt/sources.list /tmp
- echo deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe >/tmp/sources.list
- echo deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe >>/tmp/sources.list
- sudo cp /tmp/sources.list /etc/apt
- cp /etc/hosts /tmp
- echo "127.0.0.1 local.sso.edemokraciagep.org" >>/tmp/hosts
- sudo cp /tmp/hosts /etc/hosts
- sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32 40976EAF437D05B5
- sudo apt-get --purge remove postgresql-common ant ant-contrib ant-optional bison ccache curl dh-apparmor dosfstools eject flex gir1.2-gtk-2.0 gir1.2-rsvg-2.0 git-man guile-1.8-libs hdparm hicolor-icon-theme icedtea-6-plugin icedtea-7-plugin icedtea-netx icedtea-netx-common ivy java-common jsvc libapr1 libasyncns0 libatk-wrapper-java libbz2-dev libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra0 libcommons-daemon-java libdap11 libdapclient3 libevent-2.0-5 libexif-dev libexif12 libffi-dev libflac8 libfreexl1 libfribidi0 libgdbm-dev libgif4 libgnome2-bin libgnome2-common libgpm2 libhdf4-0-alt libice-dev libilmbase-dev libjasper-dev libjpeg-dev libjs-jquery libltdl-dev libmozjs185-1.0 libmysql++-dev libmysql++3 libmysqlclient-dev libnfnetlink0 libodbc1 libogg0 libopenexr-dev libossp-uuid-dev libossp-uuid16 libp11-kit-dev libpam-ck-connector libpaper-utils libpcsclite1 libpgm-5.1-0 libpixman-1-dev libpng12-dev libpq-dev libreadline-dev libsctp1 libsm-dev libsqlite3-dev libssl-doc libssl0.9.8 libtdb1 libtinfo-dev libvorbis0a libvorbisenc2 libwmf-dev libx11-doc libxcb-util0 libxcomposite-dev libxcursor-dev libxdamage-dev libxerces2-java libxft-dev libxinerama-dev libxml-commons-external-java libxml-commons-resolver1.1-java libxrandr-dev libxrender-dev libxslt1-dev libxslt1.1 libxt-dev libyaml-0-2 libyaml-dev libzmq3 lksctp-tools locales logrotate lsof md5deep memcached mongodb-10gen mtools mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-server net-tools netcat-openbsd notification-daemon ntpdate odbcinst odbcinst1debian2 openjdk-6-jre-lib oracle-java7-installer oracle-java8-installer postgresql-9.1-postgis-scripts postgresql-9.2-postgis-scripts postgresql-9.3-postgis-scripts postgresql-9.4-postgis-scripts postgresql-client postgresql-client-9.1 postgresql-client-9.2 postgresql-client-9.3 postgresql-client-9.4 postgresql-client-common powermgmt-base ragel redis-server resolvconf rsync scons sound-theme-freedesktop sqlite3 sqlite3-doc ssl-cert strace telnet unzip ureadahead vim vim-common vim-runtime vim-tiny wget whiptail x11-xserver-utils x11proto-fixes-dev x11proto-randr-dev xml-core zip
- sudo apt-get --purge autoremove
- sudo apt-get update
- sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" --force-yes -fuy upgrade
- sudo apt-get -y install python make python-pip firefox openjdk-7-jre curl docbook-xsl apache2 libapache2-mod-wsgi swig chromium-browser chromium-chromedriver libnss3-tools unzip git
- sudo apt-get -y install python-pykcs11 libsofthsm
- sudo cp src/end2endtest/certs.json /etc/chromium-browser/policies/managed/
- sudo pip install -r requirements.txt
script:
- make checkall
- ./tools/commitdocs