-
Notifications
You must be signed in to change notification settings - Fork 2
cypress tests in CI #1 #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Brojowski
wants to merge
13
commits into
develop
Choose a base branch
from
buildtesting
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9661787
cypress tests in CI #1
Brojowski d5e5f8e
Update .travis.yml
Brojowski c3a2003
Update .travis.yml
Brojowski a28dea6
Update .travis.yml
Brojowski 093ba29
add package.json for cypress install
Brojowski 5557ed3
Merge branch 'buildtesting' of github.com:surprisetech/intheloop into…
Brojowski d56139d
add secure config to build
Brojowski 49b0926
Update .travis.yml
Brojowski 195b719
make praw secret enviroment variables so that it can be provided to CI
Brojowski 2e0c06c
Merge branch 'buildtesting' of github.com:surprisetech/intheloop into…
Brojowski 03e1a15
fix agent env var
Brojowski 2d7fd07
make matplotlib not use xwindows so it can run headless
Brojowski cf62e8b
remove xwindows dep with virtual display
Brojowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,32 @@ | ||
| sudo: false | ||
| dist: "trusty" # otherwise 'python3-pip' won't be available | ||
| dist: trusty | ||
| language: python | ||
| addons: | ||
| apt: | ||
| packages: | ||
| - "python3" | ||
| - "python3-pip" | ||
| python: | ||
| - "3.6" | ||
| - python3 | ||
| - python3-pip | ||
| python: | ||
| - '3.6' | ||
| before_install: | ||
| - "pip3 install -r requirements.txt" | ||
| - pip3 install -r requirements.txt | ||
| - npm install | ||
| notifications: | ||
| slack: surprisetech:j8bAuVBQphzqvvpkfZ2FDSXs | ||
| slack: surprisetech:j8bAuVBQphzqvvpkfZ2FDSXs | ||
| before_script: | ||
|
|
||
| # Gives a simulated display for matplotlib | ||
| # src: https://stackoverflow.com/questions/35403127/testing-matplotlib-based-plots-in-travis-ci | ||
| - "export DISPLAY=:99.0" | ||
| - "sh -e /etc/init.d/xvfb start" | ||
| - sleep 3 # give xvfb some time to start | ||
|
|
||
| - touch config.py | ||
| - FLASK_APP=app.py flask run & | ||
| script: | ||
| - pytest | ||
| - pytest | ||
| env: | ||
| global: | ||
| - secure: cPumVgehHxyCXyhlSk5mWC/vcZMz9EPP71Lzey7iEv09528WSb1jhMvIeGJolkQsgYpjEbyy1wTkZ3KW7K7FXS17VSzRt2uHGWHMT1KW/ST99ZcFGUnLwGqzUIrXzwVkaBbAnyNp73MGa+gBTsHkcTmG1e2Sxvjf9lo4sOifj5yyRON5T/35+4Dgt8Lyx0YVMNxMt+onXCbMqOjDXOCzfrYE6T3jphYPMq+k48whZGQbSkLRtQDlvVmiMsZGKwDKovBQz3kYNJB2rCETVkUf/U0D8F7aXfJHcE+n3NZ8ZVmh6km+FVxsu+B64s5D2+3XKxklLYruuLS4cyUH3+q2iTMhOsplFZwPEwxtF6t1kDfBgwlGSyeERNxs/dz457aYYx4n7lYt1am5+5qjOor/lI2pIAVuwT/TMfA18fMgs40bHguibtiQKkY563t6KYTQ5a6slDSeUqCMSFUZyVL8t1D83a2TLmWFzhYu2bgQx95ZwMVxaTrpoIvSg9EN3aSyHxlKCYdKsoJ4vREUGwUX3P7Zc3puLDBXIcbnCyiypw4oneqimud+E6QkCoIIjhR1BW9cx65qwA1JhTI/rABRts3vGKrQMDO6jhMcW07aVJdzctgUyQ0JU36k1OlZ49KXR03wH29OJ8cY9UsGDTS4gWAFh3fqDgFcJPO8b8Kn5rA= | ||
| -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dbF5Cfl0HfOgM54nRkJhmulBTkux2ciUK7KVrggytQlaHeOIpFx91Qkik1wllvCJqYgNOZVuMp2g+KZFvLxW0N7cqyr/PjBrTiedkSYctErWsGEOSjEzqGJm+kIYg2Jagoy6oBTfCc0NpdThaI/CTUTQvaX9KLwdaRT2vkwXlSujdTVXa11hs05ETpV7Pr4N7/x5UoUHZy8NC6hfVFWHrihAko6QV92ziHi6CJpd1VHf3Bb9Fn2sVBiL11eCZJcOJ+nImKVvjgYrPdxq3OSOzVHTRGAQFcBMtuyv6caRL9o= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to use localhost instead of pythonanywhere?