awatson1978 / starrynight

Scaffolding and Testing tool optimized for Meteor apps.
http://starrynight.meteorapp.com
53 stars 11 forks source link

travis.yml script mishandles config path prefix #71

Open martinhbramwell opened 9 years ago

martinhbramwell commented 9 years ago

The ci file scaffolds/continuous-integration/.travis.yml attempts to set the npm CONFIG_PREFIX environment variable, before Travis installs node & npm.

    [0K
    [33;1mSetting environment variables from .travis.yml[0m
    $ export TRAVIS=true
    $ export CONFIG_PREFIX=`npm config get prefix`
    $ export DISPLAY=:99.0

        : 
        : 

    [0K$ node --version
    v0.10.38

        : 
        : 

    [0K$ echo ${CONFIG_PREFIX}
    /home/travis/.nvm/v0.10.36

        : 
        : 

    Extracting zip contents
    Copying to target path
    /home/travis/.nvm/v0.10.38/lib/node_modules/starrynight/node_mo . . . . .