Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
language: python
python:
- '2.7'
os: osx

before_install:
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- export PHANTOMJS_EXECUTABLE=`pwd`/phantomjs
- brew install phantomjs
- git clone git://github.com/n1k0/casperjs.git casperjs
- export PATH=`pwd`/casperjs/bin/:$PATH

before_script:
- ./phantomjs --version
- phantomjs --version
- casperjs --version
- python -m SimpleHTTPServer 8080 &
Expand Down
4 changes: 2 additions & 2 deletions test/integration/exportify_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ casper.test.begin("Testing initial authentication redirect", 2, function(test) {
"https://accounts.spotify.com/authorize?" +
"client_id=9950ac751e34487dbbe027c4fd7f8e99&" +
"redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fexportify.html&" +
"scope=playlist-read-private playlist-read-collaborative&" +
"scope=playlist-read-private%20playlist-read-collaborative&" +
"response_type=token",
"Redirected to Spotify authentication page"
);
Expand All @@ -69,7 +69,7 @@ casper.test.begin("Testing initial authentication redirect with different client
"https://accounts.spotify.com/authorize?" +
"client_id=123456&" +
"redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fexportify.html&" +
"scope=playlist-read-private playlist-read-collaborative&" +
"scope=playlist-read-private%20playlist-read-collaborative&" +
"response_type=token",
"Redirected to Spotify authentication page"
);
Expand Down