use pushd/popd to change to ansible dir
authorChristian Pointner <equinox@realraum.at>
Sun, 23 Dec 2018 13:25:51 +0000 (14:25 +0100)
committerChristian Pointner <equinox@realraum.at>
Sun, 23 Dec 2018 13:25:51 +0000 (14:25 +0100)
.travis.yml

index b8ddfee..6a90aab 100644 (file)
@@ -18,7 +18,9 @@ install:
   - ansible-lint --version
 
 script:
   - ansible-lint --version
 
 script:
-  - cd ansible; ansible-lint _lint_roles.yml
+  - pushd ./ansible
+  - ansible-lint _lint_roles.yml
+  - popd
   - make -C doc
 
 deploy:
   - make -C doc
 
 deploy: