Linking to PhantomJS installed on PATH

This commit is contained in:
Rob Harrington
2016-05-04 15:28:35 +10:00
parent a0254f30cd
commit 2146a55c3b
3 changed files with 12 additions and 2024 deletions

View File

@@ -1,6 +1,9 @@
language: ruby
sudo: false
cache: bundler
cache:
- bundler
- directories:
- travis-phantomjs
bundler_args: --without development
rvm:
- "2.1.5"
@@ -23,12 +26,18 @@ env:
- CI_NODE_INDEX=4 KARMA="true" GITHUB_DEPLOY="true"
before_script:
- mkdir travis-phantomjs || true
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
- cp config/database.travis.yml config/database.yml
- cp config/application.yml.example config/application.yml
- RAILS_ENV=test bundle exec rake db:create db:schema:load
- >
if [ "$KARMA" = "true" ]; then
npm install -g npm@'~3.8.8'
npm install -g npm@'3.8.8'
npm install
npm install -g karma-cli@0.1.2
fi

2022
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,7 @@
"url": "https://github.com/openfoodfoundation/openfoodnetwork"
},
"devDependencies": {
"phantomjs-prebuilt": "~2.1.7",
"karma": "~0.13.22",
"karma-jasmine": "~0.3.8",
"jasmine-core": "~2.4.1",