Skip to content

Commit

Permalink
Issue webcompat#978. See if we can teach Travis to use Node 0.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Taylor authored and daliacoss committed Mar 29, 2016
1 parent 44a03a5 commit bea2c03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ language: python
python:
- "2.7"



# cache pip and npm package installations
cache:
pip: true
Expand All @@ -25,6 +27,7 @@ env:
- ISSUES_REPO_URI=webcompat/webcompat-tests/issues
- FAKE_ID=e80a666fbf1fa9ea18db
- FAKE_SECRET=688c4546f09624f8c44773b22268064dfca19a59
- TRAVIS_NODE_VERSION="0.12.7"

before_install:
- "export DISPLAY=:99.0"
Expand All @@ -34,9 +37,10 @@ before_install:
- cd -

install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- travis_retry npm install -g grunt-cli
- travis_retry npm install
- travis_retry pip install -r requirements.txt
- travis_retry pip install -r requirements.txt
- cp config/secrets.py.example config/secrets.py
# lint python
- pep8 --ignore=E402 webcompat/ tests/ config/secrets.py.example
Expand Down

0 comments on commit bea2c03

Please sign in to comment.