Update .travis.yml
This commit is contained in:
parent
c2ebc239d5
commit
6c4d4c3ceb
|
@ -54,9 +54,9 @@ before_script:
|
||||||
# Create WordPress database.
|
# Create WordPress database.
|
||||||
- mysql -e 'CREATE DATABASE wordpress_test;' -uroot
|
- mysql -e 'CREATE DATABASE wordpress_test;' -uroot
|
||||||
# Install CodeSniffer for WordPress Coding Standards checks.
|
# Install CodeSniffer for WordPress Coding Standards checks.
|
||||||
- mkdir php-codesniffer && curl -L https://github.com/squizlabs/PHP_CodeSniffer/archive/master.tar.gz | tar xz --strip-components=1 -C php-codesniffer
|
- mkdir php-codesniffer && curl -L https://github.com/squizlabs/PHP_CodeSniffer/archive/2.7.0.tar.gz | tar xz --strip-components=1 -C php-codesniffer
|
||||||
# Install WordPress Coding Standards.
|
# Install WordPress Coding Standards.
|
||||||
- mkdir wordpress-coding-standards && curl -L https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/archive/master.tar.gz | tar xz --strip-components=1 -C wordpress-coding-standards
|
- mkdir wordpress-coding-standards && curl -L https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/archive/0.10.0.tar.gz | tar xz --strip-components=1 -C wordpress-coding-standards
|
||||||
# Hop into CodeSniffer directory.
|
# Hop into CodeSniffer directory.
|
||||||
- cd php-codesniffer
|
- cd php-codesniffer
|
||||||
# Set install path for WordPress Coding Standards
|
# Set install path for WordPress Coding Standards
|
||||||
|
|
Reference in New Issue