-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (27 loc) · 876 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (27 loc) · 876 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
# Ensure that we only run CI test on the Node.js enabled servers.
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
- "4"
- "5"
# Create a Travis memcached enabled environment for the test suite to run in and
# ensure that we test against localhost on Travis-CI.
services: memcache
#env:
# global:
# - MEMCACHED__HOST="localhost"
# - MEMCACHED__SOCKET_PATH=`pwd`/memcached.sock
# The `sevices: memcache` will start a memcached service on localhost
# and on the default port, but in order to test against multiple memcached
# instances we need to spawn a couple more, so we do that during the before
# script
before_script:
- memcached -p 11211 -d
- memcached -p 11212 -d
- memcached -p 11213 -d
- memcached -s memcached.sock -d
# Fix broken builds caused by packages using the carrot semver bullshit.
before_install:
- "npm install -g npm@2.1.x"