language: node_js node_js: # - "0.10" # - "0.12" # - "4.3" # - "5" # - "6.10" # - "7" # - "8.10" # - "9" # s3-mock needs nodejs 10 for {recursive} fs - "10" env: global: - DYNAMODB_ENDPOINT=http://localhost:8000 - AWS_ACCESS_KEY_ID=fakeMyKeyId - AWS_SECRET_ACCESS_KEY=fakeSecretAccessKey - AWS_REGION=us-east-1 # tell cf-mock where to find S3 - S3_ENDPOINT=http://localhost:10003 # tell s3-mock where to store its files - S3_STORAGE_PATH=/tmp before_script: - wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz -O /tmp/dynamodb_local_latest.tar.gz - tar -xzf /tmp/dynamodb_local_latest.tar.gz -C /tmp - java -Djava.library.path=/tmp/DynamoDBLocal_lib -jar /tmp/DynamoDBLocal.jar -inMemory & - sleep 2 - mkdir /tmp/s3 - s3-mock & - sleep 5 addons: hosts: - dynamodb-local