This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
35 lines (29 loc) · 2.75 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
language: generic
# Sudo required for doing docker build
sudo: required
services:
- docker
# Start a local http server in docker to make credentials available to build
before_script:
- mkdir srv/http
- openssl aes-256-cbc -K $encrypted_70005b06143c_key -iv $encrypted_70005b06143c_iv
-in .netrc.enc -out srv/http/.netrc -d
- export DSE_CREDENTIALS_URL=$(./srv/start-server.sh)
# Build the docker image
script:
- ./build/docker-build.sh
# If successful, see if we need to publish also
after_success:
- ./build/travis-publish.sh
# Stop the local http server in docker
after_script:
- ./srv/stop-server.sh
# Environment variables needed when publishing
env:
global:
# DOCKER_USER
- secure: doqbzVBfhpEJVHmcqRqthf6Bj3E04rrNARheFcEsdavnuspcep760A7bxxaS39gvSm105QnT6QAqj2924L0SfWUF8cqlrnWmEkjCq+z0MkmRFcX6JqqFn9ltEPTGInKQuIsWYEIvmnDE6oMl9ShKa2o0jeEVdKBQfvYyUdxjgxy8wuVZSWR9iv+ymTfgfBBQ3+D4cn+srU6OVXP+MjlQLeGKLwJvjJhNZRSVZ5pr0J3bFXlhweYZRfe4XpqtW/77wzXsxWpXGlUNzTJNQ9Poi2c93nh8EM5UVKTqfts/VjQh9V1qVAdZcmCLSx+7+tdRqPGDe2O/ku0ZV4XvCsuWpuu6kWHjMrb9iueJSHQWE/SFAvmxky+pZk9kfaFSIyoBp9PQwpC925r9ajJ5CV2+SFjoJ5/CgGGNRxWunEzDavS+PItp4DbVTioa1etqYmI0m9doBbbWMybQoQUqY63QXsDMAoGJwA3X6TKkcIWrDKwzSYcRv3ef26lsRV36bQ0KVYpi5VKNWxIE+j6tjFYzoq12erUzpL12/MYbG63Vkpy36fWmMrOAkQMPBc2JN3oN6DbczROaTU+nYvwHlLwlZLAuadN7ogH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