Skip to content

Commit 11188dc

Browse files
author
Antônio Muniz
committed
- Set Node v4.7 and v6.9 to test on Travis;
- Changed test script to use Cassandra v3.0.9; - Created CHANGELOG.md; - Changed Tools reference to use v2.1.0 tag instead of master;
1 parent dfd671d commit 11188dc

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: node_js
22
node_js:
3-
- "4.6.0"
3+
- "4.7"
4+
- "6.9"
45
services:
56
- docker
67
script: ./travis-scripts/script.sh

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Change Log
2+
3+
## Unreleased
4+
- [2017-01-24] *patch* [TM-4000](https://jiralabone.atlassian.net/browse/TM-4000) **Update to Node.js 6**
5+
6+
## v1.0.0
7+
- [2016-08-31] *major* **Initial version**

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"async": "^0.9.0",
3232
"cassandra-driver": "^3.0.0",
3333
"commander": "^2.8.1",
34-
"itaas-nodejs-tools": "git+https://github.com/UUX-Brasil/itaas-nodejs-tools.git#master",
34+
"itaas-nodejs-tools": "git+https://github.com/UUX-Brasil/itaas-nodejs-tools.git#2.1.0",
3535
"mkdirp": "^0.5.1",
3636
"uuid": "^2.0.3"
3737
},
@@ -47,4 +47,4 @@
4747
"author": "",
4848
"license": "MIT",
4949
"homepage": "https://github.com/UUX-Brasil/cassandra-migrate#readme"
50-
}
50+
}

travis-scripts/script.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
set -ev
22

33
# Run a cassandra container
4-
docker run --name cassandra -d -p 9042:9042 cassandra:2.2.5
4+
docker run --name cassandra -d -p 9042:9042 cassandra:3.0.9
55

66
# Wait Cassandra to create its internal database
77
echo "Waiting Cassandra to be available"
8-
until docker run --link cassandra:cassandra --rm cassandra:2.2.5 cqlsh cassandra 2>/dev/null
8+
until docker run --link cassandra:cassandra --rm cassandra:3.0.9 cqlsh cassandra 2>/dev/null
99
do
1010
echo -n "."
1111
sleep 1

0 commit comments

Comments
 (0)