-
Notifications
You must be signed in to change notification settings - Fork 279
/
.travis.yml
58 lines (56 loc) · 1.48 KB
/
.travis.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
sudo: required
dist: trusty
language: generic
services:
- docker
cache:
pip: true
env:
global:
- USE_CONTAINER=docker
matrix:
include:
- os: linux
env: ZSH_VERSION=zsh-5.7
- os: linux
env: ZSH_VERSION=zsh-5.6
- os: linux
env: ZSH_VERSION=zsh-5.5
- os: linux
env: ZSH_VERSION=zsh-5.4.2
- os: linux
env: ZSH_VERSION=zsh-5.4.1
- os: linux
env: ZSH_VERSION=zsh-5.4
- os: linux
env: ZSH_VERSION=zsh-5.3.1
- os: linux
env: ZSH_VERSION=zsh-5.3
- os: linux
env: ZSH_VERSION=zsh-5.2
- os: linux
env: ZSH_VERSION=zsh-5.1.1
- os: linux
env: ZSH_VERSION=zsh-5.0.0
- os: linux
env: ZSH_VERSION=zsh-4.3.17
- os: linux
env: ZSH_VERSION=zsh-4.3.11
notifications:
webhooks:
urls:
- "https://webhooks.gitter.im/e/30fdb3abe241aa03af20"
on_success: always
on_failure: always
on_start: always
script:
- if [ $TRAVIS_OS_NAME == 'osx' ]; then brew install zsh; pip install cram; fi
- make info tests stats USE_CONTAINER=$USE_CONTAINER
# Ensure the checked-in build matches the build produced in CI. Since the CI
# will run this on both OS X and Linux, the two platforms must also produce
# the same build, else one of them will fail.
- SHASUM=$(shasum -a 256 ./bin/antigen.zsh)
- VERSION=$(cat ./VERSION) make USE_CONTAINER=$USE_CONTAINER
- SHACHECK=$(shasum -a 256 ./bin/antigen.zsh)
- echo -e "$SHASUM\n$SHACHECK"
- test "$SHASUM" == "$SHACHECK"