Skip to content

Commit 5b96ea9

Browse files
committed
Update test command
1 parent fa14340 commit 5b96ea9

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ sudo: true
33
dist: trusty
44

55
before_script:
6-
- node script/create-test-tables.js pg://[email protected]:5432/postgres
7-
6+
- node packages/pg/script/create-test-tables.js pg://[email protected]:5432/postgres
7+
88
before_install:
99
- if [ $TRAVIS_OS_NAME == "linux" ]; then
10-
if [[ $(node -v) =~ v[1-9][0-9] ]]; then
11-
source ./ci_scripts/build.sh;
12-
fi
10+
if [[ $(node -v) =~ v[1-9][0-9] ]]; then
11+
source ./ci_scripts/build.sh;
12+
fi
1313
fi
14-
14+
1515
env:
1616
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres
1717

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"workspaces": [
1010
"packages/*"
1111
],
12+
"scripts": {
13+
"test": "yarn lerna exec --parallel yarn test"
14+
},
1215
"devDependencies": {
1316
"lerna": "^3.19.0"
1417
}

0 commit comments

Comments
 (0)