add Travis CI to execute `mvn clean verify` for each PR (#16)
* fix checkstyle failures * add travis file to execute `mvn clean verify` command for each pull request
This commit is contained in:
Родитель
ee7b37525e
Коммит
7e1e61d134
|
@ -0,0 +1,2 @@
|
|||
language: java
|
||||
script: mvn clean verify
|
|
@ -36,11 +36,11 @@ public class StorageSampleApplication implements CommandLineRunner {
|
|||
// with key words `storage` and 'java'.
|
||||
private void createContainerIfNotExists(String containerName) throws URISyntaxException, StorageException {
|
||||
// Create the blob client.
|
||||
CloudBlobClient blobClient = cloudStorageAccount.createCloudBlobClient();
|
||||
final CloudBlobClient blobClient = cloudStorageAccount.createCloudBlobClient();
|
||||
|
||||
// Get a reference to a container.
|
||||
// The container name must be lower case
|
||||
CloudBlobContainer container = blobClient.getContainerReference(containerName);
|
||||
final CloudBlobContainer container = blobClient.getContainerReference(containerName);
|
||||
|
||||
// Create the container if it does not exist.
|
||||
container.createIfNotExists();
|
||||
|
|
Загрузка…
Ссылка в новой задаче