blob: 323f787511c2591f0da320722761727f1586f960 (
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
|
language: rust
rust:
- 1.38.0
- 1.39.0
- stable
- beta
- nightly
cache: cargo
matrix:
allow_failures:
- rust: nightly
before_install:
- sudo apt-get -y install task
script: |
cargo build || exit 1
cargo test || exit 1
# prepare taskwarrior, initial setup
yes | task
cargo run --example create_task | tee /tmp/create_task
task import /tmp/create_task || exit 1
cat /tmp/create_task | cargo run --example import_task || exit 1
notifications:
irc:
channels:
- chat.freenode.net#imag
template:
- "%{repository_name} (%{branch} @ %{commit} by %{author}): %{result}"
|