title: How to use multiline command in 'script:' with YAML?
body: <p>I have a repository that uses <code>Travis CI</code>, and in the <code>.travis.yml</code> there I have this line:</p>
  
  <pre><code>script:
  - vim -Nu &lt;(cat &lt;&lt;-EOF
    set nocompatible |
    filetype off
    EOF
    ) -c 'Script' &gt; /dev/null
  </code></pre>
  
  <p>Sadly this doesn't work, as this is transformed into a single line and is executed like this:</p>
  
  <pre><code>vim -Nu &lt;(cat &lt;&lt;-EOF set no compatible | filetype off | EOF ) -c 'Script' &gt; /dev/null
  </code></pre>
  
  <p>This makes the <code>EOF</code> tag not working, as <code>EOF</code> needs to be in a single line.
  An alternative would be to just use normal quotes like this:</p>
  
  <pre><code>script:
  - vim -Nu &lt;(cat 'set nocompatible |
    filetype off
    ) -c 'Script' &gt; /dev/null
  </code></pre>
  
  <p>Which works, and is fine, but I feel there must be a way to insert newlines into a <code>.travis.yml</code>. I have an alternative now, but I may not in the future. So how do you do it?</p>