Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Add encrypted sauce credentials with new key (impress#584)
Browse files Browse the repository at this point in the history
* Add encrypted sauce credentials with new key

* Remove binary workaround in ".gitattributes"

* Revert a5fd940

* Use the -out syntax instead of >>

* Revert "Use the -out syntax instead of >>"

This reverts commit 7caf1de.

Is this commit causing a "npm: command not found" error in CircleCI?

* Update sauce-encrypted-env-vars to use `export`.

* Normalize `transformOrigin` result for IE11 and Safari.

* Add webkit prefixes for Safari 8 test pass.
  • Loading branch information
FagnerMartinsBrack authored and jdalton committed Oct 1, 2016
1 parent d021b51 commit 53214e5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* text=auto
sauce-encrypted-env-vars binary
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ machine:

dependencies:
pre:
- openssl -aes-256-cbc -d -in sauce-encrypted-env-vars -out ~/.circlerc -k $SAUCE_DECRYPT_KEY
- openssl aes-256-cbc -d -in sauce-encrypted-env-vars -k $SAUCE_DECRYPT_KEY >> ~/.circlerc

test:
override:
Expand Down
3 changes: 2 additions & 1 deletion sauce-encrypted-env-vars
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Salted__tn�9QM�'�k)n_rȆ��=�e����=��}�v}ؗlc�Qi�-���T�5����� Ԓ��b~6���`"=���������6��%
Salted__��IV�]O�����:bi�{7C� �0�"JB><��km�ɭ/ɬ�CLn��]�>\ܕ��.���m"�K��Z�s9��Q���%�v�X
7 ��eX�c���!w
11 changes: 8 additions & 3 deletions test/core_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,20 @@
var canvasIsNotAStep = !canvas.classList.contains("step") && canvas.id === "";
assert.ok( canvasIsNotAStep, "Canvas do not have step element data" );

actual = canvas.style.transform;
actual = canvas.style.webkitTransform || canvas.style.transform;
expected = "rotateZ(0deg) rotateY(0deg) rotateX(0deg) translate3d(1000px, 0px, 0px)";
assert.strictEqual( actual, expected, "canvas.style.transform initialized correctly" );

actual = canvas.style.transformOrigin;
// Normalize result for IE 11 and Safari.
actual = canvas.style.webkitTransformOrigin || canvas.style.transformOrigin;
expected = "left top 0px";

if ( actual === "left top" || actual === "0% 0%" ) {
actual = expected;
}
assert.strictEqual( actual, expected, "canvas.style.transformOrigin initialized correctly" );

actual = canvas.style.transformStyle;
actual = canvas.style.webkitTransformStyle || canvas.style.transformStyle;
expected = "preserve-3d";
assert.strictEqual( actual, expected, "canvas.style.transformStyle initialized correctly" );

Expand Down

0 comments on commit 53214e5

Please sign in to comment.