-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
32 lines (25 loc) · 910 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: required
language: python
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.10.0 COMPOSE_FOLDER=test-aiida-basic
- DOCKER_COMPOSE_VERSION=1.10.0 COMPOSE_FOLDER=test-aiida-qepw
- DOCKER_COMPOSE_VERSION=1.10.0 COMPOSE_FOLDER=test-aiida-0.9.0-siesta
- DOCKER_COMPOSE_VERSION=1.10.0 COMPOSE_FOLDER=test-aiida-0.9.0-cp2k
before_install:
# Update docker-compose
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
# Start all services, setup aiida, start daemon, setup/configure computer,
# setup also code.
- cd "${COMPOSE_FOLDER}"
- ./startup_firsttime.sh
script:
# Run a simple test (I should still be in the right folder)
- ./test_compose.py
git:
depth: 3