Skip to content

Commit 88b7aa9

Browse files
committed
nits
1 parent 13a9cce commit 88b7aa9

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

.travis.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,54 +24,47 @@ cache:
2424

2525
# Test stage
2626
# stage: test
27-
# env:
28-
# - MONGODB_VERSION=3.2
27+
env:
28+
- MONGODB_VERSION=3.2
2929
# - MONGODB_VERSION=3.4
3030
# - PARSE_SERVER_TEST_DB=postgres
3131
# - PARSE_SERVER_TEST_CACHE=redis
32-
# before_script:
33-
# - node -e 'require("./lib/index.js")'
32+
before_script:
33+
- node -e 'require("./lib/index.js")'
3434
# - psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres
3535
# - psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database
3636
# - psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database
37-
# - silent=1 mongodb-runner --start
38-
# after_script:
39-
# - bash <(curl -s https://codecov.io/bash)
37+
- silent=1 mongodb-runner --start
38+
after_script:
39+
- bash <(curl -s https://codecov.io/bash)
4040

4141
jobs:
4242
include:
4343
# YAML alias for test
44-
- &test
44+
- &test-mongo
45+
before_script:
46+
- node -e 'require("./lib/index.js")'
47+
- silent=1 mongodb-runner --start
4548
after_script:
4649
- bash <(curl -s https://codecov.io/bash)
47-
- <<: *test
48-
stage: test
49-
node_js: 6.10
50-
env: MONGODB_VERSION=3.2
51-
- <<: *test
50+
- <<: *test-mongo
5251
stage: test
5352
node_js: 6.10
5453
env: MONGODB_VERSION=3.4
55-
- <<: *test
54+
- <<: *test-mongo
5655
stage: test
5756
node_js: 6.10
5857
env:
5958
- PARSE_SERVER_TEST_CACHE=redis
6059
- MONGODB_VERSION=3.2
61-
- <<: *test
62-
stage: test
60+
- stage: test
6361
node_js: 6.10
6462
env: PARSE_SERVER_TEST_DB=postgres
6563
before_script:
6664
- node -e 'require("./lib/index.js")'
6765
- psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres
6866
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database
6967
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database
70-
- silent=1 mongodb-runner --start
71-
- <<: *test
72-
stage: test
73-
node_js: 7.10
74-
env: MONGODB_VERSION=3.2
7568
# release on github latest branch
7669
- stage: release
7770
node_js: 6.10

0 commit comments

Comments
 (0)