-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (37 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: php
php:
- 7.0
sudo: required
before_install:
- phpenv config-rm xdebug.ini
- composer self-update --no-interaction
- composer global require "hirak/prestissimo:^0.3"
- git config --global github.accesstoken $GITHUB_OAUTH_TOKEN
- nvm install node
install:
- composer install --no-interaction --prefer-dist
- composer create-project nette/code-checker tmp/code-checker ~2.5 --no-interaction --prefer-dist
- npm install -g npm@'>=2.13.0'
- npm install
- npm install -g bower
- npm install -g typings
- npm install -g grunt
- gem install sass
- bower install
- typings install
before_script:
- mysql -u root -e 'CREATE DATABASE online_climbing_tests;'
script:
- ./vendor/bin/tester ./tests -c ./tests/php-travis.ini --setup ./tests/setup.php -p php-cgi -s
- php tmp/code-checker/src/code-checker.php -d app --short-arrays
- grunt build:app
cache:
directories:
- $HOME/.cache/bower
- $HOME/.composer
- $HOME/.npm
- ./.sass-cache
- ./.tscache
notifications:
slack: white-line:ex957N9S9Ud59iBzMIn91uEw
email: false