Commit a7ea6077 by Eric Fischer Committed by GitHub

Merge pull request #989 from edx/aj/ora2_devstack

Ora2 Changes to work with Ficus Devstack.
parents 6270ec23 d738c9b8
...@@ -9,8 +9,6 @@ install-system: ...@@ -9,8 +9,6 @@ install-system:
# not used by travis # not used by travis
install-node: install-node:
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update -qq
sudo apt-get install -qq nodejs sudo apt-get install -qq nodejs
install-wheels: install-wheels:
...@@ -37,7 +35,7 @@ javascript: update-npm-requirements ...@@ -37,7 +35,7 @@ javascript: update-npm-requirements
sass: sass:
python scripts/compile_sass.py python scripts/compile_sass.py
verify-generated-files: javascript sass verify-generated-files:
@git diff --quiet || (echo 'Modifications exist locally! Run `make javascript` or `make sass` to update bundled files.'; exit 1) @git diff --quiet || (echo 'Modifications exist locally! Run `make javascript` or `make sass` to update bundled files.'; exit 1)
install-test: install-test:
...@@ -52,7 +50,7 @@ install-dev: ...@@ -52,7 +50,7 @@ install-dev:
install: install-wheels install-python install-js install-nltk-data install-test install-dev javascript sass install: install-wheels install-python install-js install-nltk-data install-test install-dev javascript sass
quality: quality:
jshint $(STATIC_JS)/src -c .jshintrc --verbose ./node_modules/.bin/jshint $(STATIC_JS)/src -c .jshintrc --verbose
./node_modules/jscs/bin/jscs $(STATIC_JS)/src --verbose ./node_modules/jscs/bin/jscs $(STATIC_JS)/src --verbose
./scripts/run-pep8.sh ./scripts/run-pep8.sh
./scripts/run-pylint.sh ./scripts/run-pylint.sh
...@@ -82,4 +80,4 @@ test-a11y: ...@@ -82,4 +80,4 @@ test-a11y:
update-npm-requirements: update-npm-requirements:
npm update --silent npm update --silent
cp ./node_modules/backgrid/lib/backgrid*.js $(STATIC_JS)/lib/backgrid/ cp ./node_modules/backgrid/lib/backgrid*.js $(STATIC_JS)/lib/backgrid/
cp ./node_modules/backgrid/lib/backgrid*.css $(STATIC_CSS)/lib/backgrid/ cp ./node_modules/backgrid/lib/backgrid*.css $(STATIC_CSS)/lib/backgrid/
\ No newline at end of file
...@@ -3,9 +3,7 @@ g++ ...@@ -3,9 +3,7 @@ g++
gcc gcc
git git
gfortran gfortran
libblas3gf
libblas-dev libblas-dev
liblapack3gf
liblapack-dev liblapack-dev
libatlas-base-dev libatlas-base-dev
libfontconfig1 libfontconfig1
...@@ -13,9 +11,10 @@ libmysqlclient-dev ...@@ -13,9 +11,10 @@ libmysqlclient-dev
libxml2-dev libxml2-dev
libxslt1-dev libxslt1-dev
nodejs nodejs
npm
python2.7 python2.7
python2.7-dev python2.7-dev
python-mysqldb python-mysqldb
python-pip python-pip
python-software-properties python-software-properties
rubygems rubygems
\ No newline at end of file
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"karma-jasmine": "^0.3.6", "karma-jasmine": "^0.3.6",
"karma-jasmine-html-reporter": "~0.1", "karma-jasmine-html-reporter": "~0.1",
"karma-jasmine-jquery": "^0.1.1", "karma-jasmine-jquery": "^0.1.1",
"karma-phantomjs-launcher": "^0.1.4", "karma-phantomjs-launcher": "^1.0.4",
"karma-sinon": "^1.0.3", "karma-sinon": "^1.0.3",
"karma-spec-reporter": "^0.0.20", "karma-spec-reporter": "^0.0.20",
"phantomjs": "^1.9.11", "phantomjs": "^1.9.11",
......
...@@ -9,10 +9,8 @@ cd `dirname $BASH_SOURCE` && cd .. ...@@ -9,10 +9,8 @@ cd `dirname $BASH_SOURCE` && cd ..
pip install --upgrade pip pip install --upgrade pip
pip install wheel pip install wheel
WHEELHOUSE="scripts/data/wheelhouse"
# Ensure that numpy is installed first; otherwise scipy won't be able to install # Ensure that numpy is installed first; otherwise scipy won't be able to install
pip install --use-wheel --no-index --upgrade --find-links=$WHEELHOUSE numpy pip install --use-wheel numpy==1.6.2
# Then install everything else # Then install everything else
pip install --use-wheel --no-index --upgrade --find-links=$WHEELHOUSE -r requirements/wheels.txt pip install --use-wheel -r requirements/wheels.txt
#!/usr/bin/env bash
# Create "wheel" archives of the requirements for running the test suite.
# http://pip.readthedocs.org/en/latest/reference/pip_wheel.html
# Run this whenever you update requirements to speed up test jobs in Travis.
# Since the archives contain binary distributions, however,
# you MUST run the script within an Ubuntu 12.04 box.
cd `dirname $BASH_SOURCE` && cd ..
pip install --upgrade pip
pip install wheel
WHEELHOUSE="scripts/data/wheelhouse"
pip wheel --wheel-dir=$WHEELHOUSE -r requirements/wheels.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment