This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (25 loc) · 2.66 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
language: python
python:
- "2.7"
sudo: required
env:
global:
- IMAGE_NAME=hepdata
- IMAGE_NAME_REMOTE=hepdata/hepdata
- secure: "Q99QeKaF4BeG1bpeMpaI6cVzwFLg/3ILjNgCfv0fYwktQL8vSfK2EAd8O8Qst02tmYqTleVvYWwTB5hLoGXHKLzo2PVw8N/VLA/QTwxcAI5C55429RL8uAnyIq6BpX+OQwx10Lq6T4BCiICQD7g4Pd4AxdyHHRn6XqO8p9Mrp3l2IFuCZ6ZzDK+LGgjR5khlhQGIoKcM+qX3Lob/Lhq/4jIsBLvLL7KJdS8qFW5Ps493ozOs08S6Fhpe2QQH2DUhXX0d6fHZ91H2JuXEfGwPxiamYeBaXvfPcuIzM9Stuh+CRnPvUHfSqKW6+hQ7aCDVCzs5kXl+hxkBs5QnNHuKy8pK5PnHG0B/nB0CXDSInqg58n+WaYBSmmyCT3r1I5/h0kWJcTEubRnp3DqX4TUXdre4dVAMEHOXlVbQT9Xgn/sZGwdKNktoOHdms1hp+RmE7UoR5t+W7Te7txzFdVUmIZJxHie0gwQC5S3W2mty3r2sQXhb12AYVYCDmU0lc4eaIrZyu+F79lBNQYq0bXnnnfl9hVYQwRSVWa/RNKJppYJNLzvW7OzE0riHz8Fl+ge927IVfu+SniN7+ZbnTnYSej7gt7IroceSHxJkLnA13Nxd1xA6ZthKVxhwxeNpUcMJ6kvD4gC40q517klKhY0MtZK9rK1IsGsthhI1lQ2x+VM="
- secure: "gxGPMRGRABDAQdtN1kjNQgk9ztpxJWRjZh0smcP3997NHqOOiFQuodnnk1LOB2soIsJsIXrKpyje9+BuTn4rhr8habtKfEm1JHY8rZy134Kvu1Fa/qa72uMoSpr1YynJr96dSfpulxVJWQX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XHG/I8p7KFoY8vVyW4RyMlaXgw7IdEDDfLRKA2Z/soN0zrnxP6OnxXRQgvzCf/OmexHKGfiqEIandkeC9wORW6Dynr/MpaodsmV+k4odliffOT4+0QwLz0epISPtSa2QsWtuQZnuUWS4xZVw3UHqAasRqUc="
cache:
- docker
services:
- docker
script:
- docker login --password=$DOCKER_PASSWORD --email=$DOCKER_EMAIL --username=$DOCKER_USERNAME
# CI image
- docker build -t $IMAGE_NAME-deps -f dockerfile-deps .
- docker tag -f $IMAGE_NAME-deps $IMAGE_NAME_REMOTE:deps
- docker push $IMAGE_NAME_REMOTE:deps
# Production image
- docker build -t $IMAGE_NAME-prod -f dockerfile-prod .
- docker tag -f $IMAGE_NAME-prod $IMAGE_NAME_REMOTE:prod
- docker push $IMAGE_NAME_REMOTE:prod