mount code directory in travis for a working git repository inside container.
@@ -36,24 +36,8 @@ services:
# Local environment should mount things from the code directory
volumes:
- type: bind
- source: ./backup
- target: /app/backup
- - type: bind
- source: ./bin
- target: /app/bin
- - type: bind
- source: ./locale
- target: /app/locale
- - type: bind
- source: ./requirements
- target: /app/requirements
- - type: bind
- source: ./TWLight
- target: /app/TWLight
- # Attempt to cache pip downloads. Can't really work because pip downloads happen before this mounts.
- - type: bind
- source: ${HOME}/.cache/pip
- target: /root/.cache/pip
+ source: .
+ target: /app
web:
volumes:
- type: bind
