Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Travis CI: Drop custom caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Aug 9, 2017
1 parent c8b9b86 commit 874897e
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 233 deletions.
26 changes: 11 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"language": "node_js",
"node_js": ["6"],
"before_install": [
"travis_retry pip install -r test-infra/requirements.txt --user",
# Remove ./node_modules/.bin from PATH so node-which doesn't replace Unix which and cause RVM to barf. See https://github.com/travis-ci/travis-ci/issues/5092
"export PATH=$(python -c 'from sys import argv;from collections import OrderedDict as od;print(\":\".join(od((p,None) for p in argv[1].split(\":\") if p.startswith(\"/\")).keys()))' \"$PATH\")",
"rvm install 2.2",
"rvm use 2.2 --fuzzy",
"export GEMDIR=$(rvm gemdir)",
"echo \"ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION\" > pseudo_Gemfile.lock"
"rvm use 2.2 --fuzzy"
],
"install": [
"cp test-infra/npm-shrinkwrap.json ./",
"npm install -g grunt-cli",
"./test-infra/s3_cache.py download npm-modules",
"./test-infra/s3_cache.py download rubygems"
"npm install",
"bundle install --without development --deployment --jobs=3"
],
"before_script": [
"git clone --depth 1 https://github.com/twbs/bootstrap.git",
Expand All @@ -26,16 +26,12 @@
"diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt"
],
"after_script": [
"npm run coveralls",
"./test-infra/s3_cache.py upload npm-modules",
"./test-infra/s3_cache.py upload rubygems"
"npm run coveralls"
],
"env": {
"global": [
{"JEKYLL_VERSION": "3.1.2"},
{"secure": "dRdiG/5UykFAVW6GWWcaNHGSPy16PiCeF9XySPDdCSbw+pI2zqE8VNyXgn1kORhLFsKjdIQaLnmFWR1Xw7sP59zpnIRUkZ77spw7hKNf1RlAv3uckE8LFxO1FkMFNOlSHgmCXnyseUNGMDL/lIBMCLfsTOlc6KvbQir7pz+TDwM="},
{"secure": "Ej9x2sBilYq9Wr86j7NujcPN0qAMHgUzjB9tX0vN90nKOPfAmWWcO9omFzwkuH0VZkZmauK/YQlEqKhx99quVwRHctu0LhZRnBgaCnsGp6CnRorFW4IKZwJSM38BF9XXvCCnQtz6PyItpE+ycbpFI0MHvs0H3BXFmwifvY/Q4/Y="},
{"secure": "Oq9mxJduZiy0oZmKlg3kkFFWlBTuCynRpZoz0SyG3hHt2uipWfXlm0AlpcjU6jB6g8kNtGF4ZA5uGiMUePSOfK0RveYQa95ixUY6VrbuAIzdDtz/rbMajtGCVpMBgOf5o33rEfocwgADE/i1lE1JJeNjdUBsO1Iyron1ZiT52mE="}
"cache": {
"directories": [
"node_modules",
"vendor/bundle"
]
}
}
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

group :development, :test do
gem 'jekyll', '~> 3.1.2'
end
39 changes: 39 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
GEM
remote: https://rubygems.org/
specs:
colorator (0.1)
ffi (1.9.10-x64-mingw32)
jekyll (3.1.2)
colorator (~> 0.1)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-watch (1.3.1)
listen (~> 3.0)
kramdown (1.10.0)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.5)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.21)

PLATFORMS
x64-mingw32

DEPENDENCIES
jekyll (~> 3.1.2)

BUNDLED WITH
1.11.2
12 changes: 0 additions & 12 deletions test-infra/S3Cachefile.json

This file was deleted.

1 change: 0 additions & 1 deletion test-infra/requirements.txt

This file was deleted.

188 changes: 0 additions & 188 deletions test-infra/s3_cache.py

This file was deleted.

17 changes: 0 additions & 17 deletions test-infra/uncached-npm-install.sh

This file was deleted.

0 comments on commit 874897e

Please sign in to comment.