mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Merge pull request #164 from tailwindcss/travis
Setup Travis integration
This commit is contained in:
commit
219142e697
16
.travis.yml
Normal file
16
.travis.yml
Normal file
@ -0,0 +1,16 @@
|
||||
language: php
|
||||
php:
|
||||
- '7.1'
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
- $HOME/.cache/yarn
|
||||
|
||||
script:
|
||||
- yarn
|
||||
- yarn run test
|
||||
- cd $TRAVIS_BUILD_DIR/docs && composer self-update
|
||||
- cd $TRAVIS_BUILD_DIR/docs && composer install --prefer-dist --no-interaction
|
||||
- cd $TRAVIS_BUILD_DIR/docs && yarn
|
||||
- cd $TRAVIS_BUILD_DIR/docs && yarn run dev
|
||||
1
docs/.gitignore
vendored
1
docs/.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
/source/js/
|
||||
/source/mix-manifest.json
|
||||
/tailwind.json
|
||||
/_tmp
|
||||
|
||||
@ -13,7 +13,11 @@ const env = argv.e || argv.env || 'local'
|
||||
const plugins = [
|
||||
new OnBuild(() => {
|
||||
command.get('./vendor/bin/jigsaw build ' + env, (error, stdout, stderr) => {
|
||||
console.log(error ? stderr : stdout)
|
||||
if (error) {
|
||||
console.log(stderr)
|
||||
process.exit(1)
|
||||
}
|
||||
console.log(stdout)
|
||||
})
|
||||
}),
|
||||
new Watch({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user