aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: a5846008c81aea78e1e5bee4ac2e495a460d0ffd (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
sudo: required
dist: trusty
language: minimal

before_install:
  - "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.7.0/alpine-chroot-install' \
        && echo '090d323d887ef3a2fd4e752428553f22a52b87bb  alpine-chroot-install' | sha1sum -c || exit 1"
  - alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
install:
  - sudo sh alpine-chroot-install -b edge
        -p 'build-base linux-headers util-linux-dev kmod-dev cryptsetup-dev sudo'
        -p 'cryptsetup e2fsprogs'
before_script:
  - /alpine/enter-chroot addgroup $USER wheel
script:
  - alpine ./test.sh -x -y
  - alpine ./test.sh -x -y header

notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#alpine-commits"
    template:
      - "%{repository_name}:%{branch} [%{result}] |%{author}| %{commit_subject} | %{build_url}"