-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (35 loc) Β· 989 Bytes
/
.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
language: sh
# adapted from https://github.com/mafredri/zsh-async
addons:
apt:
packages:
- build-essential
- tree
env:
global:
- ZSH_DIST=$HOME/.zsh-dist
matrix:
# Use _ZSH_VERSION since if ZSH_VERSION is present, travis cacher thinks it
# is running in zsh and tries to use zsh specific functions.
- _ZSH_VERSION=5.7.1
- _ZSH_VERSION=5.6.2
- _ZSH_VERSION=5.5.1
- _ZSH_VERSION=5.4.2
- _ZSH_VERSION=5.3.1
- _ZSH_VERSION=5.3
- _ZSH_VERSION=5.2 NO_QUOTED_EXEC=true
- _ZSH_VERSION=5.1.1 NO_QUOTED_EXEC=true
- _ZSH_VERSION=5.0.8 NO_QUOTED_EXEC=true
- _ZSH_VERSION=5.0.2 NO_QUOTED_EXEC=true
cache:
directories:
- $ZSH_DIST
before_install:
- source scripts/ci-setup-zsh.zsh $_ZSH_VERSION
- zsh --version
install:
- curl -L git.io/antigen > ~/antigen.zsh # install antigen
- cat scripts/ci.zshrc > ~/.zshrc ; cat ~/.zshrc
- echo "setopt sh_word_split" >> ~/.zshenv
script:
- zsh scripts/ci-run.zsh