dup tests for python3.7-dev
This commit is contained in:
parent
d55c73ce2e
commit
b8522dae8e
1 changed files with 38 additions and 8 deletions
42
.travis.yml
42
.travis.yml
|
@ -11,13 +11,40 @@ matrix:
|
||||||
- language: python # Backend test for on-premise
|
- language: python # Backend test for on-premise
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7-dev"
|
|
||||||
- "nightly"
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- python: "3.6"
|
- python: "3.6"
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get -y install software-properties-common
|
||||||
|
- sudo add-apt-repository -y ppa:mc3man/trusty-media
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get -y --allow-unauthenticated install ffmpeg
|
||||||
|
- sudo -i -u postgres createuser szuru -D -R -S
|
||||||
|
- sudo -i -u postgres createdb szuru_test
|
||||||
|
- sudo -i -u postgres psql -c "ALTER USER szuru PASSWORD 'dog';"
|
||||||
|
- cd server
|
||||||
|
- cp config.yaml.dist ../config.yaml.dist
|
||||||
|
- cp config.yaml.dist ../config.yaml
|
||||||
|
- sed -i -e 's/^#debug:/debug:/' ../config.yaml
|
||||||
|
- sed -i -e 's/^#show_sql:/show_sql:/' ../config.yaml
|
||||||
|
- sed -i -e 's/^#data_url:/data_url:/' ../config.yaml
|
||||||
|
- sed -i -e 's/^#data_dir:/data_dir:/' ../config.yaml
|
||||||
|
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' ../config.yaml
|
||||||
|
- sed -i -e 's/^#elasticsearch:/elasticsearch:/' ../config.yaml
|
||||||
|
- sed -i -e 's/^# / /' ../config.yaml
|
||||||
|
install:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r dev-requirements.txt
|
||||||
|
script:
|
||||||
|
# - pycodestyle wait-for-es generate-thumb szurubooru/
|
||||||
|
- ./wait-for-es
|
||||||
|
- alembic upgrade head
|
||||||
|
- py.test
|
||||||
|
|
||||||
|
- language: python # Backend test for on-premise
|
||||||
|
python:
|
||||||
|
- "3.7-dev"
|
||||||
|
allow_failures:
|
||||||
- python: "3.7-dev"
|
- python: "3.7-dev"
|
||||||
- python: "nightly"
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -y install software-properties-common
|
- sudo apt-get -y install software-properties-common
|
||||||
- sudo add-apt-repository -y ppa:mc3man/trusty-media
|
- sudo add-apt-repository -y ppa:mc3man/trusty-media
|
||||||
|
@ -47,9 +74,12 @@ matrix:
|
||||||
|
|
||||||
- language: node_js # Frontend test
|
- language: node_js # Frontend test
|
||||||
node_js:
|
node_js:
|
||||||
|
- "6"
|
||||||
|
- "7"
|
||||||
- "8"
|
- "8"
|
||||||
before_install:
|
- "9"
|
||||||
- npm install -g yarn
|
# before_install:
|
||||||
|
# - npm install -g yarn
|
||||||
install:
|
install:
|
||||||
- cd client/
|
- cd client/
|
||||||
- npm install
|
- npm install
|
||||||
|
|
Reference in a new issue