提交 c817693f 编写于 作者: J Joao Moreno

use yarn in travis

上级 9fa007f0
......@@ -5,9 +5,9 @@ os:
- linux
- osx
cache:
directories:
- $HOME/.npm
# cache:
# directories:
# - $HOME/.npm
notifications:
email: false
......@@ -33,20 +33,21 @@ before_install:
- git submodule update --init --recursive
- git clone --depth 1 https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install 7.9.0
- nvm use 7.9.0
- npm config set python `which python`
- nvm install 8.9.1
- nvm use 8.9.1
- npm i -g yarn
# - npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
# Make npm logs less verbose
- npm config set depth 0
- npm config set loglevel warn
# - npm config set depth 0
# - npm config set loglevel warn
install:
- ./scripts/npm.sh install
- yarn
script:
- node_modules/.bin/gulp hygiene
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册