Auto status change to "Under Review"
Show More
@@ -11,11 +11,11 b' matrix:' | |||||
11 | - python: 3.5 |
|
11 | - python: 3.5 | |
12 | env: TOXENV=py35 |
|
12 | env: TOXENV=py35 | |
13 | - python: 3.6 |
|
13 | - python: 3.6 | |
14 | env: TOXENV=py36 DB_STRING="postgres://postgres@127.0.0.1:5432/appenlight_test" DB=postgres |
|
14 | env: TOXENV=py36 | |
15 | addons: |
|
15 | addons: | |
16 | postgresql: "9.6" |
|
16 | postgresql: "9.6" | |
17 | - python: 3.6 |
|
17 | - python: 3.6 | |
18 | env: TOXENV=py36 BCRYPT="enabled" DB_STRING="postgres://postgres@127.0.0.1:5432/appenlight_test" DB=postgres PGPORT=5432 |
|
18 | env: TOXENV=py36 PGPORT=5432 | |
19 | addons: |
|
19 | addons: | |
20 | postgresql: "10" |
|
20 | postgresql: "10" | |
21 | apt: |
|
21 | apt: | |
@@ -31,11 +31,12 b' script:' | |||||
31 |
|
31 | |||
32 | services: |
|
32 | services: | |
33 | - postgresql |
|
33 | - postgresql | |
34 |
|
34 | - elasticsearch | ||
35 |
|
35 | - redis | ||
36 |
|
36 | |||
37 | before_script: |
|
37 | before_script: | |
38 | - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database appenlight_test;' -U postgres; fi" |
|
38 | - psql -c "create user test with encrypted password 'test';" -U postgres | |
|
39 | - psql -c 'create database appenlight_test owner test;' -U postgres | |||
39 |
|
40 | |||
40 | after_success: |
|
41 | after_success: | |
41 | - pip install coveralls |
|
42 | - pip install coveralls |
@@ -10,4 +10,6 b' passenv = DB' | |||||
10 | commands= |
|
10 | commands= | |
11 | pip install -U pip setuptools wheel |
|
11 | pip install -U pip setuptools wheel | |
12 | pip install -r backend/requirements.txt |
|
12 | pip install -r backend/requirements.txt | |
|
13 | pip install -e backend | |||
|
14 | appenlight-reindex-elasticsearch -c testing.ini -t all | |||
13 | pytest backend/src/appenlight/tests |
|
15 | pytest backend/src/appenlight/tests |
General Comments 3
You need to be logged in to leave comments.
Login now