Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #569 from edx/thallada/travis-data-api-version
Browse files Browse the repository at this point in the history
Add variable to .travis.yml for Data API checkout version for acceptance tests
  • Loading branch information
thallada authored Oct 18, 2016
2 parents f450cb9 + fc370c5 commit 220b600
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ language:
python: "2.7"
node_js: "5.2.0"
sudo: false
env:
# Make sure to update this string on every Insights or Data API release
- DATA_API_VERSION="0.17.0-rc.1"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
addons:
firefox: "46.0"
apt:
packages:
- language-pack-en
install:
- make develop
- make migrate
- ./scripts/install_analytics_data_api.sh
- ./scripts/install_analytics_data_api.sh $DATA_API_VERSION
- pip install coveralls
script:
- make static_no_compress
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ pep257==0.7.0
pep8==1.7.0
pylint==1.6.4
logilab-common==1.2.2
selenium>=2.44.0
selenium>=2.44.0,<3.0.0
sure==1.4.0
testfixtures==4.10.0
5 changes: 5 additions & 0 deletions scripts/install_analytics_data_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

git clone https://github.com/edx/edx-analytics-data-api.git
cd edx-analytics-data-api
if [ -z $1 ]; then
git checkout master
else
git checkout $1
fi
virtualenv venv
source venv/bin/activate
make requirements
Expand Down

0 comments on commit 220b600

Please sign in to comment.