Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
b027b504
Commit
b027b504
authored
9 years ago
by
Thomas McDonald
Browse files
Options
Download
Email Patches
Plain Diff
try enabling travis-ci caching
parent
255f941b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+11
-4
.travis.yml
with
11 additions
and
4 deletions
+11
-4
.travis.yml
+
11
-
4
View file @
b027b504
sudo
:
false
language
:
node_js
language
:
node_js
git
:
git
:
depth
:
10
depth
:
10
node_js
:
node_js
:
-
"
0.12"
-
"
0.12"
before_install
:
before_install
:
-
travis_retry sudo pip install -r test-infra/requirements.txt
-
export PATH=$HOME/.local/bin:$PATH
-
travis_retry pip install -r test-infra/requirements.txt --user `whoami`
-
rvm install 2.0.0 && rvm use 2.0.0
-
rvm install 2.0.0 && rvm use 2.0.0
-
bundle install
-
export GEMDIR=$(rvm gemdir)
-
export GEMDIR=$(rvm gemdir)
-
if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION rouge=$ROUGE_VERSION" > pseudo_Gemfile.lock; fi
-
if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION rouge=$ROUGE_VERSION" > pseudo_Gemfile.lock; fi
-
"
export
TRAVIS_COMMIT_MSG=
\"
$(git
log
--format=%B
--no-merges
-n
1)
\"
"
-
"
export
TRAVIS_COMMIT_MSG=
\"
$(git
log
--format=%B
--no-merges
-n
1)
\"
"
...
@@ -14,12 +15,18 @@ before_install:
...
@@ -14,12 +15,18 @@ before_install:
-
echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?;
true
-
echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?;
true
-
if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export TWBS_DO_VALIDATOR=0; fi
-
if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export TWBS_DO_VALIDATOR=0; fi
install
:
install
:
-
bundle install --deployment --jobs=3
-
npm install -g grunt-cli
-
npm install -g grunt-cli
-
./test-infra/s3_cache.py download npm-modules
-
npm install
-
if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi
# - ./test-infra/s3_cache.py download npm-modules
# - if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi
after_script
:
after_script
:
-
if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
-
if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
-
if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
-
if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
cache
:
directories
:
-
node_modules
-
vendor/bundle
env
:
env
:
global
:
global
:
-
JEKYLL_VERSION="2.5.3"
-
JEKYLL_VERSION="2.5.3"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets