File tree Expand file tree Collapse file tree 5 files changed +20
-2
lines changed Expand file tree Collapse file tree 5 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ package-lock.json
4
4
.env
5
5
.nyc_output
6
6
coverage
7
- .DS_Store
7
+ .DS_Store
8
+ build
Original file line number Diff line number Diff line change 1
1
[ ![ Build Status] ( https://travis-ci.org/Raywire/postgres-express-node.svg?branch=develop )] ( https://travis-ci.org/Raywire/postgres-express-node )
2
+ [ ![ Build Status] ( https://ryanwire.visualstudio.com/postgres-express-node/_apis/build/status/Raywire.postgres-express-node?branchName=develop )] ( https://ryanwire.visualstudio.com/postgres-express-node/_build/latest?definitionId=2&branchName=develop )
2
3
[ ![ Coverage Status] ( https://coveralls.io/repos/github/Raywire/postgres-express-node/badge.svg?branch=develop )] ( https://coveralls.io/github/Raywire/postgres-express-node?branch=develop )
3
4
[ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/af62aca2e06bd8f4da6f/maintainability )] ( https://codeclimate.com/github/Raywire/postgres-express-node/maintainability )
4
5
[ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/af62aca2e06bd8f4da6f/test_coverage )] ( https://codeclimate.com/github/Raywire/postgres-express-node/test_coverage )
Original file line number Diff line number Diff line change 7
7
- master
8
8
- develop
9
9
10
+ variables :
11
+ - group : postgres-express-node
12
+
10
13
pool :
11
14
vmImage : ' ubuntu-latest'
12
15
@@ -19,3 +22,12 @@ steps:
19
22
- script : |
20
23
npm install
21
24
displayName : ' npm install'
25
+
26
+ - task : ArchiveFiles@2
27
+ displayName : ' Archive files'
28
+ inputs :
29
+ rootFolderOrFile : ' $(System.DefaultWorkingDirectory)'
30
+ includeRootFolder : false
31
+
32
+ - task : PublishBuildArtifacts@1
33
+ displayName : ' Publish artifacts: drop'
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"start" : " node ./bin/www" ,
8
8
"start:dev" : " nodemon ./bin/www" ,
9
+ "build" : " exit 0" ,
9
10
"test" : " NODE_ENV=test npm run reset:db && NODE_ENV=test nyc mocha --timeout 5000 server/tests/**/*.spec.js" ,
10
11
"migrate" : " sequelize db:migrate" ,
11
12
"reset:db" : " sequelize db:migrate:undo:all && npm run migrate" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"development" : {
3
3
"use_env_variable" : " DATABASE_URL" ,
4
- "dialect" : " postgres"
4
+ "dialect" : " postgres" ,
5
+ "dialectOptions" : {
6
+ "ssl" : true
7
+ }
5
8
},
6
9
"test" : {
7
10
"use_env_variable" : " DATABASE_URL_TEST" ,
You can’t perform that action at this time.
0 commit comments