forked from slimkit/plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
34 lines (31 loc) · 918 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
general:
branches:
ignore:
- gh-pages
machine:
node:
version: 6
environment:
TRAVIS_REPO_SLUG: zhiyicx/thinksns-plus
YARN_VERSION: 0.21.3
PATH: "${PATH}:${HOME}/.yarn/bin"
dependencies:
pre:
# This is equivalent to $TRAVIS_COMMIT_RANGE
# Need to figure out how to bail early if this is a "docs only" build
- echo $CIRCLE_COMPARE_URL | cut -d/ -f7
# install yarn if it's not already installed
- |
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
fi
override:
- yarn install
- yarn remove node-sass
- yarn add node-sass
- mv .env.example .env
cache_directories:
- ~/.yarn
test:
override:
- yarn dist