source: .travis.yml @ 7e68015

Last change on this file since 7e68015 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
Line 
1sudo: false
2language: c
3
4script:
5 - ./configure
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  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.