-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #539 from edx/sarina/upgrade-travis
Upgrade Travis to use new container infrastructure
- Loading branch information
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
install: | ||
- "pip install -r shared/travis_requirements.txt" | ||
script: "./run_tests.sh" | ||
branches: | ||
only: | ||
- master | ||
python: "2.7" | ||
|
||
|
||
|
||
# This part isn't needed until we are running latexpdf builds. | ||
# before_install: | ||
# MacTex is used locally (MacOSX) by the docs team, | ||
# but since we are using a linux machine for travis, | ||
# we can use texlive-full instead. | ||
# - "sudo apt-get update" | ||
# - "sudo apt-get install texlive-full git python-dev -y" | ||
install: | ||
- "pip install -r shared/travis_requirements.txt" | ||
script: "./run_tests.sh" | ||
# MacTex is used locally (MacOSX) by the docs team, | ||
# but since we are using a linux machine for travis, | ||
# we can use texlive-full instead. | ||
# - "sudo apt-get update" | ||
# - "sudo apt-get install texlive-full git python-dev -y" |