-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcircle.yml
34 lines (23 loc) · 834 Bytes
/
circle.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
machine:
environment:
#Force all scripts to be automated and not request user input
DEBIAN_FRONTEND: noninteractive
dependencies:
cache_directories:
- "~/brew-tap"
override:
#Add the trusty backports repository for shellcheck
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-backports restricted main universe"
#Update package lists
- sudo apt-get -qq -o=Dpkg::Use-Pty=0 update
#Install shellcheck
- sudo apt-get -qq -o=Dpkg::Use-Pty=0 install shellcheck
test:
override:
#Run shellcheck on all scripts in the root directory
- shellcheck *.sh
deployment:
release:
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- scripts/deploy.sh