Created
December 18, 2014 10:21
-
-
Save aaira-a/a8dc5ce5a83bc3a1f1ea to your computer and use it in GitHub Desktop.
patch python or django dependencies from pip on travis virtualenv
This file contains 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
language: python | |
python: | |
- "3.4" | |
install: "pip install -r requirements.txt" | |
before_script: | |
- "rm /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/admin.py" | |
- "rm /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/models.py" | |
- "rm /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/migrations/0*.*" | |
- "cp $TRAVIS_BUILD_DIR/patches/django_mailbox/admin.py /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/" | |
- "cp $TRAVIS_BUILD_DIR/patches/django_mailbox/models.py /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/" | |
- "cp $TRAVIS_BUILD_DIR/patches/django_mailbox/migrations/*.* /home/travis/virtualenv/python3.4/lib/python3.4/site-packages/django_mailbox/migrations/" | |
- "cd $TRAVIS_BUILD_DIR" | |
script: | |
- "python manage.py test my_app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment