Birçok şey denedim, ancak sonuçta gulp-pipeline-rails çalışan için başarısız oldu. script
yerel olarak çalışır, sorun değil.travis-ci ruby yapı ile düğüm 5
Daraltdığım son sorun, ruby
dil projesini kullandığım, ancak I need node 5. Ben one snippet bulundu: Bu düğüm güncellenen almak gibi görünürken benim yakut env bir şey yapar,
#------------------------------
# Update the node version
env:
- TRAVIS_NODE_VERSION="5"
install:
- pwd
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install
nerede fails to execute rspec:
$ pwd && bundle exec rake
/home/travis/build/alienfast/gulp-pipeline-rails
Could not find gem 'rspec' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
Soru, nasıl Bütün söyledi Node 5'i bu .travis.yml
ile mi kullanıyorum?
language: ruby
rvm:
- 2.2.2
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
cache: bundler
#------------------------------
# Setup
before_script:
- node -v
# update npm
- npm install npm -g
# install Gulp 4 CLI tools globally from 4.0 GitHub branch
- npm install https://github.com/gulpjs/gulp-cli/tarball/4.0 -g
#------------------------------
# Build
script: bundle exec rake