angularjs - django webserver on travis for e2e testing -
a quick question django / travis pros.
i run e2e tests on travis django/angular app, , connect saucelabs through sauceconnect tunnel.
//travis.yml addons: sauce_connect: true postgresql: "9.3" branches: only: - master - integration_env language: python python: - '2.7.9' cache: directories: - $home/virtualenv/python2.7.9/lib/python2.7/site-packages - node_modules - bower_components install: - npm install - pip install -r requirements.txt - pip install coverage -u --force-reinstall - pip install coveralls -u --force-reinstall - node_modules/protractor/bin/webdriver-manager update before_script: - psql -c 'create database travisci;' -u postgres - pg_restore --no-acl --no-owner -h localhost -u postgres -d travisci demodb.dump - python manage.py runserver & script: # - grunt karma:saucetravis - grunt protractor:saucelabs - coverage run --source='.' manage.py test after_success: - grunt coveralls:run - coveralls --merge=coverage/lcov/coveralls.json
i try run django webserver on travis ci environment. in before_script after create database.
when try ping localhost:8000, however, "bad gateway 301" response. says dirty ssl?
if has advice how go debugging this, grateful.
thanks
Comments
Post a Comment