source: .travis.yml @ 0ef1c92

Last change on this file since 0ef1c92 was 4850065, checked in by dequis <dx@…>, at 2015-08-08T02:16:59Z

travis: Switch to container based infrastructure

This means faster builds, which is something I don't really need
but I felt like doing this.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[4850065]1sudo: false
[e26aa72]2language: c
[91f06e5]3
4script:
5 - ./configure
6 - make check
[4850065]7 - BITLBEE_SKYPE=plugin dpkg-buildpackage -uc -us -d
[91f06e5]8
[4850065]9# ubuntu precise doesn't have libotr5, so extract a prebuilt version to ~/otr
[e26aa72]10before_install:
[4850065]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
[e26aa72]16
[91f06e5]17env:
18  global:
[4850065]19   - PKG_CONFIG_PATH=$HOME/otr/usr/lib/pkgconfig/
20   - LD_LIBRARY_PATH=$HOME/otr/usr/lib/
[91f06e5]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:
[4850065]26  apt:
27    packages:
28    - libevent-dev
29    - libpurple-dev
30    - check
[91f06e5]31  coverity_scan:
32    project:
33      name: "bitlbee/bitlbee"
34      description: "An IRC to other chat networks gateway"
35    notification_email: dx@dxzone.com.ar
36    build_command_prepend: ./configure --otr=1 --debug=1
37    build_command: make
38    branch_pattern: coverity_scan
39
40notifications:
41  email: false
Note: See TracBrowser for help on using the repository browser.