source: .travis.yml @ f75aaac

Last change on this file since f75aaac was 861de54, checked in by dequis <dx@…>, at 2017-10-05T06:16:17Z

travis: require ubuntu precise explicitly, install more deps

  • Property mode set to 100644
File size: 1.5 KB
Line 
1dist: precise
2language: c
3
4script:
5 - ./configure --pam=1 --ldap=1
6 - make check
7 - BITLBEE_SKYPE=plugin dpkg-buildpackage -uc -us -d
8
9# ubuntu precise doesn't have libotr5, so extract a prebuilt version to ~/otr
10before_install:
11 - wget http://dump.dequis.org/indexed/bitlbee-travis-libs/libotr5_4.1.0_amd64_with_dev_for_travis.tar.gz -O /tmp/otr.tar.gz
12 - echo "8424feb28a2cff3ce603ddcdff9be788701ff7e4  /tmp/otr.tar.gz" | sha1sum -c -
13 - tar -C "$HOME" -xf /tmp/otr.tar.gz
14 - sed -i "s#/usr#$HOME/otr/usr/#" "$HOME/otr/usr/lib/pkgconfig/libotr.pc"
15 - echo "libotr 5 libotr" > debian/shlibs.local
16
17env:
18  global:
19   - PKG_CONFIG_PATH=$HOME/otr/usr/lib/pkgconfig/
20   - LD_LIBRARY_PATH=$HOME/otr/usr/lib/
21   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
22   #   via the "travis encrypt" command using the project repo's public key
23   - secure: "MO6hy2cRxR02A0nSenfQFyPFpepxorJ+XgNkq2JS7LtI6tcwYRR0alvunIPJXam1/OUKxoFsBJLS1nCJTvEUXFCOvoTSAoMiePTBUEg2zfzcTb5k+cqtcOUznCXHNmXAwrqriP4vkG+57ijO9Ojz2r9LijcvjtFDRFJQY9Rcs38="
24
25addons:
26  apt:
27    packages:
28    - libevent-dev
29    - libpurple-dev
30    - check
31    - libpam0g-dev
32    - libldap2-dev
33    - fakeroot
34    - debhelper
35    - devscripts
36  coverity_scan:
37    project:
38      name: "bitlbee/bitlbee"
39      description: "An IRC to other chat networks gateway"
40    notification_email: dx@dxzone.com.ar
41    build_command_prepend: ./configure --otr=1 --debug=1 --pam=1 --ldap=1
42    build_command: make
43    branch_pattern: coverity_scan
44
45notifications:
46  email: false
Note: See TracBrowser for help on using the repository browser.