mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
yo, travis
This commit is contained in:
parent
27e79b959f
commit
39e8d62b5a
31
.travis.yml
Normal file
31
.travis.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
|
language: ruby
|
||||||
|
rvm:
|
||||||
|
- "2.2.3"
|
||||||
|
node_js:
|
||||||
|
- "5.1"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
bundler: true
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
- bower_components
|
||||||
|
- _site/media/gen
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libgsl0ldbl
|
||||||
|
- libgsl0-dev
|
||||||
|
|
||||||
|
before_script: "_ci/setup.sh"
|
||||||
|
script: "_ci/build.sh"
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
skip_cleanup: true
|
||||||
|
provider: script
|
||||||
|
script: "_ci/deploy.sh"
|
||||||
|
on:
|
||||||
|
branch: master
|
2
Gemfile
2
Gemfile
@ -16,7 +16,7 @@ group :development do
|
|||||||
end
|
end
|
||||||
|
|
||||||
group :lsi do
|
group :lsi do
|
||||||
gem 'gsl'
|
|
||||||
gem 'narray'
|
gem 'narray'
|
||||||
|
gem 'gsl'
|
||||||
gem 'classifier-reborn'
|
gem 'classifier-reborn'
|
||||||
end
|
end
|
||||||
|
@ -3,7 +3,7 @@ kremalicious3
|
|||||||
|
|
||||||
> [kremalicious.com](http://kremalicious.com) based on [Jekyll](http://jekyllrb.com). Neat.
|
> [kremalicious.com](http://kremalicious.com) based on [Jekyll](http://jekyllrb.com). Neat.
|
||||||
|
|
||||||
[ ](https://codeship.com/projects/102237)
|
[](https://travis-ci.org/kremalicious/kremalicious3)
|
||||||
[](https://gemnasium.com/kremalicious/kremalicious3)
|
[](https://gemnasium.com/kremalicious/kremalicious3)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ $CI_BRANCH == "master" ]; then
|
if [ $TRAVIS_BRANCH == "master" ]; then
|
||||||
gulp build --production
|
gulp build --production
|
||||||
else
|
else
|
||||||
gulp build
|
gulp build
|
||||||
|
@ -402,7 +402,7 @@ gulp.task('deploy', function() {
|
|||||||
.pipe($.rename(function (path) {
|
.pipe($.rename(function (path) {
|
||||||
path.dirname = S3PATH + path.dirname;
|
path.dirname = S3PATH + path.dirname;
|
||||||
}))
|
}))
|
||||||
.pipe(parallelize(publisher.publish({}, 'force'), 10))
|
.pipe(parallelize(publisher.publish(), 50))
|
||||||
.pipe(publisher.sync()) // delete files in bucket that are not in local folder
|
.pipe(publisher.sync()) // delete files in bucket that are not in local folder
|
||||||
.pipe($.awspublish.reporter({
|
.pipe($.awspublish.reporter({
|
||||||
states: ['create', 'update', 'delete']
|
states: ['create', 'update', 'delete']
|
||||||
|
Loading…
Reference in New Issue
Block a user