summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 9dbfe469d6f6969fc15ba64f807b9ffd859e1c3c (plain)
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
sudo: false
os:
  - linux

dist:
  - trusty

language: rust

rust:
  - 1.23.0
  - 1.24.0
  - stable

cache:
  cargo: true

addons:
  apt:
    packages:
    - libdbus-1-dev
    - pkg-config

script:
  - |
    bash ./scripts/find-dead-symlinks || exit 1
    bash ./scripts/license-headers-updated || exit 1
    cargo build --all --all-features -j 1 || exit 1
    cargo test  --all --all-features -j 1 || exit 1

notifications:
  email:
    on_success: never
  irc:
    channels:
      - chat.freenode.net#imag
    template:
      - "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"