-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
57 lines (57 loc) · 2.83 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
55
56
57
language: python
python:
- "2.7"
- "3.5"
- "3.8"
env:
global:
- AWS_ACCESS_KEY_ID="AKIAJDYW3E3ERXZTUFDA"
- secure: "N7zPlSJjUR3djPNgvDk5ONnb3kW8z+6FHZeoBWr3Ja2sBVL/MG8fx34P2XxyViFLlOdSTAkW2V5NdcMUaA8DKMNf7lTl4sgn7roIqjDx5OY/hUZYs89lispPFb/7zJKAlaTZJWKInguDBs1B5nqjsbLr02D4mLNhh00/4VWAK88OniPxHySvq8s62IJDgNA8e+JG8YgcVg+nEDwzJ7mJubENyAZ0IHfMjtc1hAYr8gk8AbRBoVrI8FAvXp6aE3uKzr86IvNjyPMTJs8t7Aco61Rtx3Xd+lwgPzEjZw5gTqo6s4KAw2+22Hlhdt0OpYCsBAORIFE6VRK51J6FvZyZWfHVxcCzhywxNT/phoi57oUB1Dtj6fami46hH2DIKxAmMYIzn0sFA487u/VbUIgJ8P6z4ljAWWPOAnKNmHpBqtK4DWTfQIQRWp4yxInRZMxMpVp4fSDwUUwzztFxYbdyokMfEpIaS3mP1RYJXvnb6xrz/+28NDHGZV8+wMJGYhz4IZplmZ/5PAC6AKVKyHyE06VQ8RMeCSk6ikC4xI3LQkqIX7EMDKbAIEFeZm4EfC/o5JBWRQhZKiV0pP9SZ9oezUKHky7SU+pEJ/6UDgC25JWk5kUwSxMYsEwIi0OBuOOY4Qla9vULPNoQJ+re0maO7Aw1bhsAfBX7G+7tyr0gT3Q="
- AWS_DEFAULT_REGION="us-west-2"
- TRACKING_ID="UA-131371194-2"
- secure: "stLyaW3u0VPvTOpxg2aVSrT8x3WC8/Rc4YlZG624xfKboYRYtTDmyvidS8w5RKAAK5WIUU7cNjUsmaHTlmoI3o0l3MXPbDeAN/ub0kA1wzFa7/hWkFiN9fcjBxY0ZVwuBlGsolfL1dUiF5zJgiG3LpTWoLaG0k5fMOds5H0TMfUHInXFaKGsccDEtAfxg2/Me4IuDbJdYJTmgzxTdZjo2eIpj6MzuX7a/pEVkTn03HvRVNSwKMhxm/hcWrPz3ckqrVQlSiVNaksuhaXtDMU/Zyp9cu59CY6nO64lnnD1Ubj7/sfVyrIm7qgicWaBJ/AIg7ATqiGypFCV/VjzrVBY5VD0txp65VR0henoloeer6TwDzx3FXQbBsW4KpQ2Yfze+0mAfWBp3VTlAb5bOugZs3oTMaUXKgy5ArT2clhf8UV8a5t0JV3mQDVw6MSEmXpYlYxUbudghgPnM9CkhUZYK1n1Lgnx+sNR4KcgulXa2ftlSF0xpXhc4IRwQY23B8MWCnO7xRwPyTHGPhPDaU5+YOJS1HpGsJJg+d6RASEknY7DBBCOa/iJEpw2lCdPyhOwv9Mpd4OyzBhx/RKbXYZpCEK/23xBK+WDjya81X2rYz0SyD/NydBjUGUAKFcV/cbzp0LnmU1A2jmJHyWWRP4Jc/s4pwO8ITqiBibRbQLHGpY="
matrix:
- SYMPYVERSION=""
- SYMPYVERSION="==1.5"
- SYMPYVERSION="==1.6"
- SYMPYVERSION="==1.7"
- SYMPYVERSION="==1.8"
install:
- pip install sympy$SYMPYVERSION;
script:
- cd python;
python TestSuite.py;
jobs:
include:
- stage: web test
if: type != pull_request
addons:
chrome: stable
python: 2.7
install:
- pip install piexif selenium awscli;
cd web;
wget https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip;
unzip chromedriver_linux64.zip;
PATH=$PATH:$(pwd);
aws configure set region $AWS_DEFAULT_REGION;
script: make all test stack=StateMint-test-$TRAVIS_JOB_ID;
after_script: make remove clean stack=StateMint-test-$TRAVIS_JOB_ID
- stage: deploy
if: branch = master
python: 2.7
install:
- pip install awscli;
aws configure set region $AWS_DEFAULT_REGION;
cd web;
script:
- make trackingID=$TRACKING_ID;
echo "statemint.stmartin.edu" > HTML/CNAME
deploy:
provider: pages
keep-history: true
github-token: $GH_TOKEN
local-dir: web/HTML/
repo: StateMint/StateMint.github.io
target-branch: master
skip_cleanup: true