mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
use travis for ci to verify builds work before merging
This commit is contained in:
parent
3443bd014d
commit
11f926438e
8
.travis.yml
Normal file
8
.travis.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#bootstrap and build
|
||||
before_script: "./script/bootstrap"
|
||||
script: "./script/cibuild"
|
||||
|
||||
#environment
|
||||
language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
@ -3,6 +3,7 @@
|
||||
set -e
|
||||
|
||||
echo "bundling installin'"
|
||||
gem install bundler
|
||||
bundle install
|
||||
|
||||
echo "npm installin'"
|
||||
|
9
script/cibuild
Executable file
9
script/cibuild
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "compiling javascript..."
|
||||
./node_modules/.bin/coffee -c javascripts/app.coffee
|
||||
|
||||
echo "building the site..."
|
||||
bundle exec jekyll build --trace
|
Loading…
x
Reference in New Issue
Block a user