-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
54 lines (50 loc) · 1.47 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
matrix:
include:
- os: linux
dist: trusty
sudo: required
services:
- docker
cache:
directories:
- $HOME/.minikube
- $HOME/.kube
- $HOME/.r8s
- .git
- /usr/local
env:
- MINIKUBE_MEMORY=7777
- MINIKUBE_CPU=4
- MINIKUBE_DRIVER=none
- REACTIONCOMMERCE_NAME=travisci-build-test
- MONGO_RELEASE_NAME=travisci-mongodb-test
- REACTION_API_NAME=grape-ape-api
- REACTIONCOMMERCE_REPO=reactioncommerce/reaction
- REACTIONCOMMERCE_TAG=latest
- REPLICAS=1
- MONGO_REPLICAS=3
# Possible os x support in the future
#- os: osx
# osx_image: xcode7.2
language: bash
addons:
apt:
packages:
- curl
- socat
- time
before_install:
# install nsenter which is required for port forwarding
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .ci/ubuntu-compile-nsenter.sh && sudo cp .tmp/util-linux-2.30.2/nsenter /usr/local/bin; fi
# Possible os x support in the future
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
script:
- git submodule update --init
- touch ~/.bashrc ~/.bash_profile ~/.zshrc ~/.profile
- rm ~/.profile
- /usr/bin/time -v make -e run_dotfiles
- bash .ci/envtest.sh
- /usr/bin/time -v make -e linuxreqs
#- /bin/bash -l -c "source /home/travis/.profile && /usr/bin/time -v make -e ci"
- mkdir -p /home/travis/.docker
- /bin/bash -l -c "/usr/bin/time -v make -e ci"