forked from warehouseman/meteor-tinytest-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_circle.yml
34 lines (32 loc) · 1.22 KB
/
example_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
# This is the configuration file for continuous integration of
# your project in CircleCi.
#
# The full reference is available at :
# https://circleci.com/docs/configuration
#
machine:
node:
# Can't be certain that this build wlll work with all future versions: so specify.
version: 0.10.33
dependencies:
# Whatever is written to these directories during one build will be
# restored verbatim on every future build.
cache_directories:
- ~/.meteor
- ~/node_modules
# Dependencies of the build run before CircleCI's inferred commands
pre:
# Install Meteor
- mkdir -p ~/.meteor
# If Meteor is already cached, do not need to build it again.
- if [ ! -e ~/.meteor/meteor ]; then curl https://install.meteor.com | /bin/sh; fi
# Now install WebDriver
- mkdir -p ~/node_modules
# If WebDriver is already cached, do not need to build it again.
- if [ ! -d ~/node_modules/selenium-webdriver/ ]; then npm install --prefix ~ selenium-webdriver; else echo "Selenium Webdriver seems to be cached"; fi;
# Have symlink to a cached directory
- ln -s ~/node_modules node_modules
test:
# Tests that replace CircleCI's inferred tests
override:
- tests/tinyTests/test-all.sh