-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
54 lines (47 loc) · 966 Bytes
/
.travis.yml
File metadata and controls
54 lines (47 loc) · 966 Bytes
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
language: shell
stages:
- Units
- Coverage
- Integration
osx_image: xcode11
install:
- curl -fsSL https://git.io/shellspec | sh -s -- -y 0.24.x
- PATH=$HOME/.local/bin:$PATH
jobs:
include:
- &units
stage: Units
os: linux
env:
before_script: shellspec --syntax-check
script: shellspec --no-banner spec/units
after_failure:
- <<: *units
os: osx
- <<: *units
os: windows
- stage: Coverage
os: osx
env:
addons:
homebrew:
packages:
- kcov
script: shellspec --no-banner --kcov --kcov-options "--coveralls-id=$TRAVIS_JOB_ID" spec/units
stage: Integration
os:
- linux
- osx
- windows
env:
- PYTHON=3.8
- PYTHON=3.7
- PYTHON=3.6
- PYTHON=2.7
script: shellspec --no-banner spec/integration
after_failure:
- source ./travis-python.bash
- install_python $HOME/python $PYTHON
notifications:
email:
if: branch = master