We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d0c7d4 commit 2ce2ca0Copy full SHA for 2ce2ca0
1 file changed
.travis.yml
@@ -1,23 +1,31 @@
1
+os: linux
2
dist: trusty
-sudo: required
3
4
services: docker
5
6
-language: bash
+language: shell
7
8
branches:
9
only:
10
- master
11
12
-before_script:
+before_install:
13
- env | sort
14
- - dir="."
+ - export home=$(pwd)
15
+ - export travis_dir="${home}"
16
-script:
17
- - cd "$dir"
+install:
18
+ - echo "Changing to travis test directory ($travis_dir)"
19
+ - cd "$travis_dir"
20
# Test container build
21
- travis_retry docker-compose build
22
+
23
+before_script:
24
- docker images
25
26
+script:
27
28
29
# Test container run
30
- travis_retry docker-compose up -d && sleep 20
31
- docker-compose ps
0 commit comments