1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

yo, travis

This commit is contained in:
Matthias Kretschmann 2016-04-24 01:47:18 +02:00
parent 27e79b959f
commit 39e8d62b5a
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
5 changed files with 35 additions and 4 deletions

31
.travis.yml Normal file
View 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

View File

@ -16,7 +16,7 @@ group :development do
end
group :lsi do
gem 'gsl'
gem 'narray'
gem 'gsl'
gem 'classifier-reborn'
end

View File

@ -3,7 +3,7 @@ kremalicious3
> [kremalicious.com](http://kremalicious.com) based on [Jekyll](http://jekyllrb.com). Neat.
[ ![Codeship Status for kremalicious/kremalicious3](https://codeship.com/projects/9fd79770-3c49-0133-6289-3ebbb4d77cd4/status?branch=master)](https://codeship.com/projects/102237)
[![Build Status](https://travis-ci.org/kremalicious/kremalicious3.svg?branch=master)](https://travis-ci.org/kremalicious/kremalicious3)
[![Dependency Status](https://gemnasium.com/kremalicious/kremalicious3.svg)](https://gemnasium.com/kremalicious/kremalicious3)

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ $CI_BRANCH == "master" ]; then
if [ $TRAVIS_BRANCH == "master" ]; then
gulp build --production
else
gulp build

View File

@ -402,7 +402,7 @@ gulp.task('deploy', function() {
.pipe($.rename(function (path) {
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($.awspublish.reporter({
states: ['create', 'update', 'delete']