`.travis.yml` has this bit:

```
before_install:
- 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
- node --version
- if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
- if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
- if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter 
android-22,android-23,android-24,android-25,android-26,android-27;
  fi
- git clone https://github.com/apache/cordova-paramedic /tmp/paramedic && pushd
  /tmp/paramedic && npm install && popd
- npm install -g cordova
```
(or similar, as configs can be different)

This should:
1. not have those confusing line breaks
2. get the `android-22,android-23,android-24,android-25,android-26,android-27` 
string from a variable so that it is not that easy to overlook
3. probably something like nvm is available on travis by default?
4. not switch from android, then to ios, then again android

[ Full content available at: https://github.com/apache/cordova/issues/37 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to