Skip to content

Commit 6a064ac

Browse files
committed
add travis setup
1 parent 716b836 commit 6a064ac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
language: node_js
22
node_js :
3-
- "node"
4-
after_success: npm run coverage
3+
- "node"
4+
before_script:
5+
- psql -c 'CREATE DATABASE toolshare;' -U postgres
6+
- psql -c "CREATE USER sunuwars WITH PASSWORD 'sunuwars123';" -U postgres
7+
- psql -c 'ALTER DATABASE toolshare OWNER TO sunuwars;' -U postgres
8+
after_success: npm run coverage

0 commit comments

Comments
 (0)