Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarroll committed May 12, 2017
1 parent 16f624e commit 50ae7c5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ node_modules
.settings
selenium-client-jars/
test/artifacts
config
test
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
sudo: true
env:
- URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-v5.6.22-f9533ba-linux-amd64.tar.xz
before_install:
- openssl aes-256-cbc -K $encrypted_1b6ad412bc94_key -iv $encrypted_1b6ad412bc94_iv
-in assets/server.key.enc -out assets/server.key -d
- openssl aes-256-cbc -K $encrypted_49b03f275fa2_key -iv $encrypted_49b03f275fa2_iv
-in assets/server.key.enc -out assets/server.key -d
- wget -qO- $URL | tar xJf -
- ./heroku/install
- export PATH=./heroku/$(pwd):$PATH
before_script:
- export SFDX_DISABLE_ENCRYPTION=true
- sfdx force --help
- sfdx force:auth:jwt:grant --clientid $CONSUMERKEY --jwtkeyfile assets/server.key
--username $USERNAME --setdefaultdevhubusername
script:
- sfdx force:org:create -s -f config/workspace-scratch-def.json -a ciorg
- sfdx force:source:push -u ciorg
- sfdx force:apex:test:run -c -r human
- sleep 4m
- sfdx force:org:delete -u ciorg -p
Binary file added assets/server.key.enc
Binary file not shown.
1 change: 0 additions & 1 deletion config/workspace-scratch-def.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"Company": "Your Company",
"Country": "US",
"LastName": "lastname",
"Email": "yourname@example.com",
"Edition": "Developer",
"OrgPreferences" : {
Expand Down

0 comments on commit 50ae7c5

Please sign in to comment.