我有一個問題讓Travis來運行我的測試。它在解析我的.travis.yml文件時停止。 你可以看看倉庫在這裏:https://github.com/steve-korzinetzki/costcontroltravis無法解析我的配置文件
文件的內容是這樣的:
language: php
php:
- 5.5
- hhvm
services: mysql
before_script:
# installation
- composer self-update
- composer install --dev --prefer-source --no-interaction
# database configuration
- mysql -e 'create database cc_testing;'
# startup server environment
- php artisan migrate:install
- php artisan migrate
- php artisan migrate:install --env=」testing」
- php artisan serve
- sleep 5
script:
- phpunit
- vendor/bin/behat
的錯誤信息是:
ERROR: An error occured while trying to parse your .travis.yml file.
Please make sure that the file is valid YAML.
http://lint.travis-ci.org can check your .travis.yml.
The error was "'reader' unacceptable character '' (0x80) special characters are not allowed
in "'reader'", position 373 at line 0 column 0".
我覺得這是一個文件字符集中的錯誤。但我不明白。一個有趣的事實:travis驗證頁面說文件沒問題(請參閱http://lint.travis-ci.org/steve-korzinetzki/costcontrol)。
有沒有人有類似的問題?有誰知道解決方案?謝謝你的幫助。