You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
573 B
19 lines
573 B
before_script: |
|
- "pip install -r requirements.txt" |
|
- "pip install pylint" |
|
- "curl -sL https://deb.nodesource.com/setup_10.x | bash -" |
|
- "apt-get install -y nodejs jq" |
|
- "npm install" |
|
|
|
lint: |
|
image: "python:3" |
|
stage: "test" |
|
script: |
|
- "hooks/pre-commit" |
|
|
|
test: |
|
image: "python:3" |
|
stage: "test" |
|
script: |
|
- python -m flatisfy init-config | jq '.constraints.default.house_types = ["APART"] | .constraints.default.type = "RENT" | .constraints.default.postal_codes = ["75014"]' > /tmp/config.json |
|
- python -m flatisfy test --config /tmp/config.json
|
|
|