Skip to content

Commit

Permalink
update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-hao committed Mar 6, 2020
1 parent 06257f3 commit 542a529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ services:
branches:
only:
- master
- 2010

before_install:
- docker build . -f test/Dockerfile -t icees-api-test:0.2.0

script:
- docker-compose -f docker-compose.yml -f test/docker-compose.yml up --build --exit-code-from icees-api-test
- test/test.sh
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,9 @@ python app.py

#### Run tests
```
docker-compose up --build -V -d
test/test.sh
```

```
docker build . -f test/Dockerfile -t icees-api-test:0.2.0
```

```
docker run --net host --rm icees-api-test:0.2.0
```



#### Deploy API

The following steps can be run using the `redepoly.sh`
Expand Down

0 comments on commit 542a529

Please sign in to comment.