1 Star 0 Fork 0

往来 / Medusa

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
.travis.yml 2.71 KB
Copy Edit Raw Blame History
language: python
sudo: false
cache:
yarn: true
directories:
- $HOME/.cache/pip
- node_modules
before_install:
- python .github/check_version.py
- sudo rm -f /etc/boto.cfg
install: false
script: false
# Please read about YAML Anchors & Aliases: https://blog.daemonl.com/2016/02/yaml.html
aliases:
# There's no support for concatenation so we must do this
- &node_version '10.16.0'
- &nvm_install nvm install v10.16.0
- &install_yarn_bin >-
curl -o- -L https://yarnpkg.com/install.sh | bash &&
export PATH="$HOME/.yarn/bin:$PATH"
- &backend_tests
install:
- pip install --upgrade pip
- pip install --upgrade tox
script:
- tox -v --recreate
- &dredd_tests
install:
- pip install --upgrade pip
- pip install dredd_hooks
- pip install 'PyYAML>=5.1'
- pip install six
- *nvm_install
- *install_yarn_bin
- yarn install --ignore-scripts
script:
- yarn test-api
after_failure:
- cat ./dredd/hook.log
jobs:
# fast_finish: true
include:
# test stage + frontend tests start here
- stage: test
name: 'Frontend tests'
language: node_js
node_js: *node_version
install:
- *install_yarn_bin
- cd $TRAVIS_BUILD_DIR/themes-default/slim
- yarn install --ignore-scripts
script:
- $TRAVIS_BUILD_DIR/.github/build-themes-check.sh
- yarn lint
- yarn lint-css
- yarn test
- yarn coverage
# backend tests (py2.7) start here
- name: 'Backend tests (py2.7)'
python: '2.7'
env:
- TOXENV=py27
<<: *backend_tests
# backend tests (py3.6) start here
- name: 'Backend tests (py3.6)'
python: '3.6'
env:
- TOXENV=py36,lint
<<: *backend_tests
# dredd tests (py2.7) start here
- name: 'Dredd tests (py2.7)'
python: '2.7'
<<: *dredd_tests
# dredd tests (py3.6) start here
- name: 'Dredd tests (py3.6)'
python: '3.6'
<<: *dredd_tests
notifications:
slack:
secure: >-
YYOoxBgy4+iAIWylJX0ndT+KwctRzSL/8mUOPErIJOaGAwU6w9JT2WyO1uP/xq9xm+MjgGWqKJ7bpwGRJ12bCkP4mPcnn5A7c/UqFcCgwVgWfKdI/5EeHB6RfzK76J01amenN69/hzt5WjifE4wCONfJAcftKxylh69kWV5QipDcZZA//yQiO9BfYlsW3CxkHb3OGPHSJVYb32IdfCn4hnt3WaWkentXBj5R0v0kyNKbkFqQ5OGPlsjrYpxDMF8vgduxmg8zGw2tXjWGIC2bWuPoAurZy0ewyoKIna82wgkNySFjNBXoZCtssW7yPFJjUQHP/lHIZa4gLmA5Gdli7WoaN/lYaoGXlxAXSskfvgGXin92CRHukSbzEdzQznPhzxzIcuJA2je0gAvmIn2nw0itUGKbVQBZTV3nRFJb3iEHaodC0+1zozGQASxfXQzzBuHU6ZUAFWzlMNQ80RjuiS5951mmgIBo8fOfTWkVFTX8ayEfGbYhqoJqJ5QMjTjoEt8SYKrlHdlDBh803LmKOsID9B8dDn0onXlYNZAioqTTFb/xqL95aCDr84PKYbNSfraqPU6hsSc8ITtxeMS454k8BGxzed0s8bKsCDQP7HXmYKbShByMYX8NipuhtEDXeCGyCLX3atoO0qFiZ0/sUXXf67w/14eLRBAdKfnr02I=
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kymo/Medusa.git
git@gitee.com:kymo/Medusa.git
kymo
Medusa
Medusa
master

Search