Commit Graph

32 Commits

Author SHA1 Message Date
Ben Word
1e31a901b1 Require Node 8+, also test PHP 7.2 and 7.3 2018-12-21 13:28:51 -07:00
Ben Word
8096f74a7a PHP 7.1+ is now required 2018-03-06 18:40:13 -07:00
Ben Word
091cf08f6d Remove PHP 5.6 tests from Travis 2017-08-08 11:15:15 -06:00
Peter Sorensen
eff6644bc8 Update travis
#1797
2017-01-10 13:32:27 -08:00
QWp6t
1a39af0f7f Update .travis.yml for Sage 9 2016-12-10 08:04:53 -08:00
Ben Word
c69431efa5 Remove PHP 5.5 testing from Travis 2016-12-04 20:19:01 -07:00
QWp6t
f6bdc7b48c Refactor build routine and switch to airbnb style (#1703)
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated

[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.

To clarify, review the following example.

Before:
```
{
  "main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
  "main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
  "customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```

After:
```
{
  "scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
  "styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
  "scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00
Stephen Edgar
07aec245a3 Add npm prune to Travis CI
> Via https://docs.npmjs.com/cli/prune
> > This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed.
> >
> > Extraneous packages are packages that are not listed on the parent package's dependencies list.

The reason for adding this is to go hand in hand with the Travis CI caching implemented a while ago, if you don't run `npm prune` periodically then older packages will not be removed from the cache and the cache will continue to grow in size.

I suspect if you compare the Travis CI cache size between master and this PR, this PR will be significantly smaller. (You could also inspect the cache with Travis CI CLI I think)

https://travis-ci.org/roots/sage/caches
2016-06-09 09:46:51 +10:00
Ben Word
752bf04626 Travis: Remove oauth 2016-04-03 17:20:12 -05:00
Ben Word
fd1f6251e4 Use Composer to run PHPCS and PHPMD tests 2016-04-03 17:16:29 -05:00
Ben Word
e554726d4a Travis: gulp and Bower are no longer needed 2016-04-02 23:34:12 -05:00
Ben Word
610c46b3b1 Require PHP 5.5 2016-03-12 13:47:56 -05:00
QWp6t
b42c425e5c Optimize travis a bit
1. Add apt and composer's cache folder to travis cache
2. Use --prefer-dist to avoid cloning repos
3. Use --no-interaction to inform composer that prompts should be suppressed
4. Use travis_retry to resolve occasional network failures/timeouts
2016-03-11 18:06:28 -05:00
QWp6t
f598ca9a0b Only use root editorconfig, allow warnings in travis 2016-03-11 18:06:27 -05:00
QWp6t
246955c59a Use phpcs.xml for all rules 2016-03-11 18:06:27 -05:00
QWp6t
2d02544173 Create new phpcs rules 2016-03-11 18:03:15 -05:00
Stephen Edgar
21210309b2 Add PHP 7.x "nightlies" to Travis CI and allow to fail 2016-03-11 18:03:14 -05:00
QWp6t
8712dc8e02 Update node in travis, remove unsupported php
Note: We specify CXX env because v8 requires a C++11 compiler
2016-03-11 18:03:14 -05:00
QWp6t
e51e41e0eb Update dependencies, switch to eslint 2016-03-11 18:03:14 -05:00
QWp6t
f752470b33 Rename app to src 2016-03-11 18:00:06 -05:00
QWp6t
9eaffa3a2d Restructure theme, use autoloader 2016-03-11 18:00:05 -05:00
Scott Walkinshaw
99d2b0064d cache bower and node directories 2015-02-28 23:30:35 -06:00
Scott Walkinshaw
e31049aa39 Add hhvm 2015-02-28 23:30:20 -06:00
Tomas Votruba
c14ca51f17 travis: PHP 7.0 nightly added 2015-03-01 00:56:15 +01:00
Austin Pray
8c374e2136 Require the latest version of npm
The npm that ships with 0.10 is 1.2.x and it is riddled with
race conditions.
2015-02-05 01:22:06 -06:00
Austin Pray
56f850eb23 Fix node-sass and npm cache on travis
`cache: npm` isn't even a valid config anyway

https://stackoverflow.com/questions/15393821/npm-err-cb-never-called/15483897#15483897
https://github.com/sass/node-sass/issues/638
e227568521/lib/build.sh (L183)
2015-01-30 12:10:49 -06:00
Austin Pray
04528c2603 Merge branch 'add-jscs' into merge-add-jscs
Conflicts:
	.travis.yml
2015-01-24 10:36:04 -06:00
Austin Pray
ae62873779 Adds JSCS for gulpfile and scripts
install JSCS globally npm install jscs -g
use `npm run jscs`
2015-01-24 10:26:30 -06:00
Ben Word
33fe490cb0 Add PHPCS to Travis 2015-01-24 00:37:48 -06:00
Daniel Olson
caba05a0b1 Formatting edits for travis.yml
Edits according to the travis-ci.com docs: http://docs.travis-ci.com/user/languages/php/#Choosing-PHP-versions-to-test-against
2015-01-19 11:10:55 -05:00
Scott Walkinshaw
870a14168c Update .travis.yml with npm cache and php 5.6 2014-12-31 17:29:32 -05:00
Austin Pray
fc627d43ac Adds travis 2014-12-24 17:45:47 -06:00